From 65966ded0cc15c5966c6568cf0ff2f2bbe1fc29a Mon Sep 17 00:00:00 2001 From: Stefan Zabka Date: Sun, 24 May 2020 12:09:46 +0200 Subject: Big remodelling --- shell/beispiele/pipe_bidirect/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 shell/beispiele/pipe_bidirect/Makefile (limited to 'shell/beispiele/pipe_bidirect/Makefile') diff --git a/shell/beispiele/pipe_bidirect/Makefile b/shell/beispiele/pipe_bidirect/Makefile new file mode 100644 index 0000000..361ac97 --- /dev/null +++ b/shell/beispiele/pipe_bidirect/Makefile @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf