summaryrefslogtreecommitdiffstats
path: root/02_exercise/beispiele/pipe_bidirect/Makefile
blob: 361ac97dd9895854a7ff07415ff791992fb04728 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make
.SUFFIXES:

CFLAGS = -c -Os -Wall -Werror

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

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

all: pingpong

run: all
	@echo "writing into log.txt; stop execution with CTRL+C"
	./pingpong

clean:
	$(RM) $(RMFILES) pingpong