Réorganisation des dossiers et de l'emplacement des fichiers pour permettre la compilation par n'importe quelle machine
This commit is contained in:
26
snake/Makefile
Normal file
26
snake/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
#Snake : fichier Makefile
|
||||
|
||||
#BUT FINAL
|
||||
|
||||
but : snake
|
||||
|
||||
#VARIABLES
|
||||
|
||||
OFILES = plateau_init.o \
|
||||
fenetre.o \
|
||||
main.o
|
||||
|
||||
CC = gcc
|
||||
|
||||
CFLAGS = -ansi - pedantic -lgraph
|
||||
|
||||
#DEPENDANCES (REGLES IMPLICITES)
|
||||
|
||||
plateau_init.o : plateau_init.h
|
||||
|
||||
fenetre.o : fenetre.h plateau_init.h
|
||||
|
||||
main.o : fenetre.h
|
||||
|
||||
|
||||
#DEPENDANCES AVEC COMMANDES
|
Reference in New Issue
Block a user