31 lines
329 B
Makefile
31 lines
329 B
Makefile
|
but : taquin
|
||
|
|
||
|
OFILES = menu.o \
|
||
|
partie.o\
|
||
|
main_taquin.o
|
||
|
|
||
|
CC = gcc
|
||
|
|
||
|
|
||
|
|
||
|
CFLAGS = -pedantic -g -lgraph
|
||
|
|
||
|
menu.o : menu.h
|
||
|
|
||
|
|
||
|
main_taquin.o : menu.h partie.h
|
||
|
|
||
|
|
||
|
|
||
|
taquin : $(OFILES)
|
||
|
$(CC) $(CFLAGS) -o taquin $(OFILES)
|
||
|
|
||
|
|
||
|
clean :
|
||
|
-rm -f $(OFILES) taquin
|
||
|
|
||
|
run:
|
||
|
./taquin
|
||
|
|
||
|
|
||
|
.PHONY : but clean
|