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

10 lines
114 B
Makefile
Raw Normal View History

2016-03-23 08:35:27 +01:00
all: $(patsubst %.c,%.exe,$(shell ls *.c))
%.exe: %.c
gcc -g $< -o $@ -lm
2016-03-23 08:35:27 +01:00
.PHONY: all clean
clean:
rm *.exe