Ajout MakeFile

This commit is contained in:
Jude Christ AISSI 2023-11-30 13:44:06 +01:00
parent 9b2b17d5be
commit eb6df98985

15
SAE_semestre1/Makefile Normal file
View File

@ -0,0 +1,15 @@
but : jeux
OFILES = terrain.o \
time.o
CC = gcc
CFLAGS = -ansi -pedantic -lgraph -g
terrain.o = terrain.c
time.o = time.c
jeux : $(OFILES)
$(CC) $(CFLAGS) -o jeux $(OFILES)
clean : -rm -f $(OFILES) jeux
.PHONY : but clean