TP2 E1
This commit is contained in:
parent
6a4b7a5673
commit
3be6dfefbe
3 changed files with 85 additions and 0 deletions
15
TP2/Makefile
Normal file
15
TP2/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
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
|
Reference in a new issue