fichier Makefile
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
paires : main.o mode.o jeu.o
|
||||||
|
gcc -Wall -ansi -o paires.out main.o mode.o jeu.o -lgraph -lm
|
||||||
|
|
||||||
|
main.o : saeMain.c
|
||||||
|
gcc -c saeMain.c
|
||||||
|
|
||||||
|
mode.o : ChargerMode.c ChargerMode.h
|
||||||
|
gcc -c ChargerMode.c
|
||||||
|
|
||||||
|
jeu.o : Jeu.c Jeu.h
|
||||||
|
gcc -c Jeu.c
|
||||||
|
|
||||||
|
clean :
|
||||||
|
rm -f *.o
|
||||||
|
|
||||||
|
run :
|
||||||
|
./paires.out
|
Reference in New Issue
Block a user