Ajout MakeFile
This commit is contained in:
parent
9b2b17d5be
commit
eb6df98985
15
SAE_semestre1/Makefile
Normal file
15
SAE_semestre1/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user