2023-11-30 13:44:06 +01:00
|
|
|
CC = gcc
|
2023-12-07 14:32:42 +01:00
|
|
|
CFLAGS = -Wall -Wextra -std=c99
|
|
|
|
LIBS = -lgraph -lm
|
2023-11-30 13:44:06 +01:00
|
|
|
|
2023-12-07 14:32:42 +01:00
|
|
|
all: main
|
2023-11-30 13:44:06 +01:00
|
|
|
|
2023-12-07 14:32:42 +01:00
|
|
|
main: main.c jeu.c serpent.c pomme.c
|
|
|
|
$(CC) $(CFLAGS) -o main main.c jeu.c serpent.c pomme.c $(LIBS)
|
2023-11-30 13:44:06 +01:00
|
|
|
|
2023-12-07 14:32:42 +01:00
|
|
|
clean:
|
|
|
|
rm main
|