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