diff options
author | Stefan Zabka <zabkaste@hu-berlin.de> | 2020-05-24 12:09:46 +0200 |
---|---|---|
committer | Stefan Zabka <zabkaste@hu-berlin.de> | 2020-05-24 12:09:46 +0200 |
commit | 65966ded0cc15c5966c6568cf0ff2f2bbe1fc29a (patch) | |
tree | 60af69be16926ef0f24ad2a954d9205ce9277450 /shell/beispiele/pipe_example/Makefile | |
parent | 3b7e61eab8ce5d230bc1b172942c1ab9459ed161 (diff) | |
download | betriebssysteme-65966ded0cc15c5966c6568cf0ff2f2bbe1fc29a.tar.gz betriebssysteme-65966ded0cc15c5966c6568cf0ff2f2bbe1fc29a.zip |
Big remodelling
Diffstat (limited to 'shell/beispiele/pipe_example/Makefile')
-rw-r--r-- | shell/beispiele/pipe_example/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/beispiele/pipe_example/Makefile b/shell/beispiele/pipe_example/Makefile new file mode 100644 index 0000000..d69473e --- /dev/null +++ b/shell/beispiele/pipe_example/Makefile @@ -0,0 +1,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 |