Création du Makefile (enfin)
This commit is contained in:
parent
3a156893f9
commit
eb940975fd
23
Makefile
Normal file
23
Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
but : jeu_de_paires
|
||||
|
||||
OFILES = affichage.o \
|
||||
timer.o \
|
||||
menu_v2.o
|
||||
|
||||
CC = gcc
|
||||
|
||||
CFLAGS = -lgraph
|
||||
|
||||
timer.o : timer.c
|
||||
|
||||
affichage.o : timer.h affichage.c
|
||||
|
||||
menu_v2.o : affichage.h menu_v2.c
|
||||
|
||||
jeu_de_paires : $(OFILES)
|
||||
$(CC) $(CFLAGS) -o jeu_de_paires $(OFILES)
|
||||
|
||||
clean :
|
||||
-rm -f $OFILES) jeu_de_paires
|
||||
|
||||
.PHONY : but clean
|
Loading…
Reference in New Issue
Block a user