15 lines
275 B
Makefile
15 lines
275 B
Makefile
|
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
|