From 680b0d597690f66a66d890f73a3dd1786c7cdefc Mon Sep 17 00:00:00 2001 From: tmeissner Date: Tue, 20 Oct 2015 23:27:20 +0200 Subject: [PATCH] Add chapter 04 Makefile --- c_primer_plus/chapter04/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 c_primer_plus/chapter04/Makefile diff --git a/c_primer_plus/chapter04/Makefile b/c_primer_plus/chapter04/Makefile new file mode 100644 index 0000000..80acd02 --- /dev/null +++ b/c_primer_plus/chapter04/Makefile @@ -0,0 +1,10 @@ +SRC := $(shell ls *.c) + + +%: %.c + gcc -Wall -Wextra $@.c -o $@ + + +.PHONY: clean +clean: + @rm -f ?? \ No newline at end of file