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

28 lines
351 B
Makefile
Raw Normal View History

2016-01-17 18:59:56 +01:00
all: $(subst c,exe,$(shell ls))
E1-1.exe: E1-1.c
gcc E1-1.c -o E1-1.exe
E1-2.exe: E1-2.c
gcc E1-2.c -o E1-2.exe
E2.exe: E2.c
gcc E2.c -o E2.exe -lm
E3.exe: E3.c
gcc E3.c -o E3.exe -lm
E4.exe: E4.c
gcc E4.c -o E4.exe -lm
E5-1.exe: E5-1.c
gcc E5-1.c -o E5-1.exe
E5-2.exe: E5-2.c
gcc E5-2.c -o E5-2.exe
.PHONY: all clean
clean:
rm *.exe