Merge branch 'master' of dwarves.iut-fbleau.fr:morinl/SAE11_2021

This commit is contained in:
Mathieu PROAL 2022-11-29 17:27:44 +01:00
commit ced3f0501c

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
CC=gcc
CFLAGS= -Wall -c -lgraph
LDFLAGS= -Wall -lgraph
EXEC=menu
jeu: main.o images.o menu.o
$(CC) -o jeu main.o images.o menu.o $(LDFLAGS)
main.o: main.c images.h menu.h main.h
$(CC) main.c $(CFLAGS)
images.o: images.c images.h
$(CC) images.c $(CFLAGS)
menu.o: menu.c menu.h
$(CC) menu.c $(CFLAGS)
run:./jeu