Réorganisation des dossiers et de l'emplacement des fichiers pour permettre la compilation par n'importe quelle machine

This commit is contained in:
2023-11-30 14:48:19 +01:00
parent adcf884a33
commit a68fef55e8
3 changed files with 197 additions and 0 deletions

26
snake/Makefile Normal file
View 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