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

16 lines
195 B
Makefile
Raw Normal View History

2016-01-27 11:58:55 +01:00
all: $(subst c,exe,$(shell ls *.c))
E1-1.exe: E1-1.c
gcc E1-1.c -o E1-1.exe
E1-3.exe: E1-3.c
gcc E1-3.c -o E1-3.exe -lm
E2.exe: E2.c
gcc E2.c -o E2.exe
.PHONY: all clean
clean:
rm *.exe