réorganisation finale
This commit is contained in:
@@ -6,8 +6,8 @@ all:Jeux
|
||||
run:Jeux
|
||||
./Jeux
|
||||
|
||||
Jeux:main.o scene.o serpent.o timer.o score.o
|
||||
$(CC) $(CFLAGS) -o Jeux main.o scene.o serpent.o timer.o score.o
|
||||
Jeux:main.o scene.o timer_score_menu.o
|
||||
$(CC) $(CFLAGS) -o Jeux main.o scene.o timer_score_menu.o
|
||||
|
||||
main.o:main.c fonction.h
|
||||
$(CC) -c main.c $(CFLAGS)
|
||||
@@ -15,13 +15,7 @@ main.o:main.c fonction.h
|
||||
scene.o:scene.c fonction.h
|
||||
$(CC) -c scene.c $(CFLAGS)
|
||||
|
||||
serpent.o: serpent.c fonction.h
|
||||
$(CC) -c serpent.c $(CFLAGS)
|
||||
|
||||
timer.o:timer.c fonction.h
|
||||
$(CC) -c timer.c $(CFLAGS)
|
||||
|
||||
score.o:score.c fonction.h
|
||||
$(CC) -c score.c $(CFLAGS)
|
||||
timer.o:timer_score_menu.c fonction.h
|
||||
$(CC) -c timer_score_menu.c $(CFLAGS)
|
||||
|
||||
clean:-rm -f *.o Jeux
|
||||
|
Reference in New Issue
Block a user