make
This commit is contained in:
parent
8ec4471dbd
commit
c5b7f0c97b
@ -4,6 +4,9 @@ PACKAGE = fr.iutfbleau.projetAgile
|
||||
PACKAGE_PATH = fr/iutfbleau/projetAgile
|
||||
JAR_OPTION = cvfe projetAgile.jar $(PACKAGE).main.Main -C build fr -C res
|
||||
|
||||
#BBUT PAR DEFAUT
|
||||
run: puissance4
|
||||
java -jar Puissance4.jar
|
||||
#------- Dossiers ------
|
||||
|
||||
View = build/$(PACKAGE_PATH)/View/Pion.class \
|
||||
@ -43,8 +46,7 @@ build/$(PACKAGE_PATH)/Event/AbstractGridInitiater.class : src/$(PACKAGE_PATH)/Ev
|
||||
|
||||
#------- Controleur ------
|
||||
|
||||
build/$(PACKAGE_PATH)/Controller/ResetGame.class : src/$(PACKAGE_PATH)/Controller/ResetGame.java \
|
||||
build/$(PACKAGE_PATH)/Puissance4Controller.class
|
||||
build/$(PACKAGE_PATH)/Controller/ResetGame.class : src/$(PACKAGE_PATH)/Controller/ResetGame.java
|
||||
javac $(JAVAC_OPT) $<
|
||||
|
||||
build/$(PACKAGE_PATH)/Controller/GrilleMouseListener.class : src/$(PACKAGE_PATH)/Controller/GrilleMouseListener.java
|
||||
@ -101,6 +103,7 @@ build/$(PACKAGE_PATH)/View/Puissance4Panel.class : src/$(PACKAGE_PATH)/View/Pui
|
||||
build/$(PACKAGE_PATH)/Controller/ResetGame.class \
|
||||
build/$(PACKAGE_PATH)/View/Menu.class
|
||||
javac $(JAVAC_OPT) $<
|
||||
jar cvfe Puissance4.jar $(PACKAGE_PATH).Main -C build fr -C res images
|
||||
|
||||
build/$(PACKAGE_PATH)/View/BoutonsMenu.class : src/$(PACKAGE_PATH)/View/BoutonsMenu.java
|
||||
javac $(JAVAC_OPT) $<
|
||||
@ -117,12 +120,17 @@ build/$(PACKAGE_PATH)/Main.class : src/$(PACKAGE_PATH)/Main.java
|
||||
puissance4 : build/$(PACKAGE_PATH)/Main.class \
|
||||
build/$(PACKAGE_PATH)/Puissance4Controller.class \
|
||||
$(Model)
|
||||
|
||||
doc :
|
||||
javadoc -d doc src/$(PACKAGE_PATH)/View/*.java src/$(PACKAGE_PATH)/Controller/*.java src/$(PACKAGE_PATH)/Utils/*.java src/$(PACKAGE_PATH)/Model/*.java src/$(PACKAGE_PATH)/Event/*.java
|
||||
# java -cp build $(PACKAGE_PATH).Main
|
||||
jar cvfe Puissance4.jar $(PACKAGE_PATH).Main -C build fr -C res images
|
||||
|
||||
java -jar Puissance4.jar
|
||||
|
||||
clear :
|
||||
rm -rf build/*
|
||||
|
||||
.PHONY:
|
||||
clear
|
||||
# BUT FACTICES:
|
||||
.PHONY: clear doc
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user