2023-12-07 14:02:18 +01:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS=-ansi -pedantic -lgraph
|
2023-12-04 17:01:52 +01:00
|
|
|
|
2023-12-07 14:08:27 +01:00
|
|
|
all:Jeux
|
2023-12-04 17:01:52 +01:00
|
|
|
|
2023-12-10 11:29:26 +01:00
|
|
|
run:Jeux
|
|
|
|
./Jeux
|
|
|
|
|
2023-12-22 11:44:28 +01:00
|
|
|
Jeux:main.o scene.o timer_score_menu.o
|
|
|
|
$(CC) $(CFLAGS) -o Jeux main.o scene.o timer_score_menu.o
|
2023-12-04 17:01:52 +01:00
|
|
|
|
2023-12-07 14:02:18 +01:00
|
|
|
main.o:main.c fonction.h
|
|
|
|
$(CC) -c main.c $(CFLAGS)
|
2023-12-04 17:01:52 +01:00
|
|
|
|
2023-12-07 14:02:18 +01:00
|
|
|
scene.o:scene.c fonction.h
|
|
|
|
$(CC) -c scene.c $(CFLAGS)
|
2023-12-04 17:01:52 +01:00
|
|
|
|
2023-12-22 11:44:28 +01:00
|
|
|
timer.o:timer_score_menu.c fonction.h
|
|
|
|
$(CC) -c timer_score_menu.c $(CFLAGS)
|
2023-12-07 14:02:18 +01:00
|
|
|
|
2023-12-07 14:08:27 +01:00
|
|
|
clean:-rm -f *.o Jeux
|