Collisions & Score
This commit is contained in:
25
JEUX_SERPENT/Makefile
Normal file
25
JEUX_SERPENT/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
but:Snake
|
||||
|
||||
OFILES=main.o\
|
||||
serpent.o\
|
||||
terrain.o\
|
||||
pomme.o\
|
||||
timer.o\
|
||||
fonction.o
|
||||
|
||||
CC= gcc
|
||||
CFLAGS= -ansi -pedantic -g -lgraph
|
||||
|
||||
fonction.o:fonction.h
|
||||
main.o:main.c
|
||||
serpent.o:serpent.c
|
||||
terrain.o:terrain.c
|
||||
pomme.o:pomme.c
|
||||
timer.o:timer.c
|
||||
|
||||
Snake:$(OFILES)
|
||||
$(CC) $(CFLAGS)Snake $(OFILES)
|
||||
|
||||
clean:-rm -f $(OFLIES)Snake
|
||||
|
||||
.PHONY:but clean
|
Reference in New Issue
Block a user