Ajout du Makefile
This commit is contained in:
parent
e7a3019038
commit
d0da4ec550
15
Makefile
Normal file
15
Makefile
Normal 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
|
||||
$(CC) main.c $(CFLAGS)
|
||||
images.o: images.c
|
||||
$(CC) images.c $(CFLAGS)
|
||||
menu.o: main.c
|
||||
$(CC) menu.c $(CFLAGS)
|
||||
|
||||
run:./jeu
|
Loading…
Reference in New Issue
Block a user