This repository has been archived on 2019-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
s4-c/TP4/Makefile
Geoffrey Frogeye b2da77824f TP4 E2
Un mix entre ce qui est demandé et ce qui me paraît plus correct.
2016-03-23 10:00:37 +01:00

10 lines
114 B
Makefile

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