SAE11_2023/SAE_semestre1/Makefile

11 lines
189 B
Makefile

CC = gcc
CFLAGS = -Wall -Wextra -std=c99
LIBS = -lgraph -lm
all: main
main: main.c jeu.c serpent.c pomme.c
$(CC) $(CFLAGS) -o main main.c jeu.c serpent.c pomme.c $(LIBS)
clean:
rm main