Meilleurs Makefile

This commit is contained in:
Geoffrey Frogeye 2016-03-02 08:50:03 +01:00
parent 630cfed0ed
commit c7cd6f5092
6 changed files with 22 additions and 4 deletions

9
TP3/Makefile Normal file
View file

@ -0,0 +1,9 @@
all: $(patsubst %.c,%.exe,$(shell ls *.c))
%.exe: %.c
gcc $< -o $@
.PHONY: all clean
clean:
rm *.exe