Un mix entre ce qui est demandé et ce qui me paraît plus correct.
This commit is contained in:
Geoffrey Frogeye 2016-03-23 10:00:37 +01:00
parent 72d2f70b99
commit b2da77824f
3 changed files with 55 additions and 1 deletions

View file

@ -1,7 +1,7 @@
all: $(patsubst %.c,%.exe,$(shell ls *.c))
%.exe: %.c
gcc $< -o $@ -lm
gcc -g $< -o $@ -lm
.PHONY: all clean