Browse Source

Add chapter 04 Makefile

master
T. Meissner 9 years ago
parent
commit
680b0d5976
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      c_primer_plus/chapter04/Makefile

+ 10
- 0
c_primer_plus/chapter04/Makefile View File

@ -0,0 +1,10 @@
SRC := $(shell ls *.c)
%: %.c
gcc -Wall -Wextra $@.c -o $@
.PHONY: clean
clean:
@rm -f ??

Loading…
Cancel
Save