summaryrefslogtreecommitdiffstats
path: root/shell/beispiele/dup/Makefile
blob: 0f73ac46ca2780b539f6fa56bfe92be941686a73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make
.SUFFIXES:

CFLAGS = -c -Os -Wall -Werror

%.o: %.c
	$(CC) $(CFLAGS) $^ -o $@

%: %.o
	$(CC) -o $@ $^

all: dup

run: all
	./dup

clean:
	$(RM) $(RMFILES) dup