diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ea49a5c --- /dev/null +++ b/Makefile @@ -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