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/TP3/Makefile

10 lines
111 B
Makefile
Raw Normal View History

2016-03-02 08:50:03 +01:00
all: $(patsubst %.c,%.exe,$(shell ls *.c))
%.exe: %.c
2016-03-09 11:10:07 +01:00
gcc $< -o $@ -lm
2016-03-02 08:50:03 +01:00
.PHONY: all clean
clean:
rm *.exe