summaryrefslogblamecommitdiffstats
path: root/shell/beispiele/pipe_bidirect/Makefile
blob: 361ac97dd9895854a7ff07415ff791992fb04728 (plain) (tree)


















                                                                
#!/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