changement du makefile probleme de nom du but
This commit is contained in:
10
Makefile
10
Makefile
@@ -40,18 +40,18 @@ game_logic.o: game_logic.c game_logic.h board.h player.h
|
||||
#CHAPITRE 4 : DEPENDANCES AVEC COMMANDES
|
||||
|
||||
|
||||
game : $(OFILES)
|
||||
$(CC) $(CFLAGS) -o game $(OFILES)
|
||||
jeu : $(OFILES)
|
||||
$(CC) $(CFLAGS) -o jeu $(OFILES)
|
||||
|
||||
#CHAPITRE 5 : NETTOYAGE DES FICHIERS GENERES
|
||||
|
||||
clear :
|
||||
-rm -f $(OFILES) game
|
||||
-rm -f $(OFILES) jeu
|
||||
|
||||
#CHAPITRE 6 : BUTS FACTICES
|
||||
|
||||
.PHONY : but clear
|
||||
.PHONY : jeu clear
|
||||
|
||||
|
||||
run :
|
||||
./game
|
||||
./jeu
|
||||
|
||||
Reference in New Issue
Block a user