summaryrefslogtreecommitdiffstats
path: root/02_exercise/beispiele/pipe_example/Makefile
blob: d69473e3b9066b177921113cd266aef4ea3a1a15 (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: pipe

run: all
	./pipe

clean:
	$(RM) $(RMFILES) pipe