Taille minimal de la fenetre
This commit is contained in:
@@ -2,16 +2,8 @@ JAVAC_OPT = -implicit:none \
|
||||
-d build -classpath build -sourcepath src
|
||||
PACKAGE = fr.iutfbleau.projetAgile
|
||||
PACKAGE_PATH = fr/iutfbleau/projetAgile
|
||||
JAR_OPTION = cvfe projetAgile.jar $(PACKAGE).main.Main -C build fr -C res
|
||||
|
||||
#BUT PAR DEFAUT
|
||||
run: ArgileGames.jar
|
||||
java -jar ArgileGames.jar
|
||||
|
||||
ArgileGames.jar : build/$(PACKAGE_PATH)/Main.class
|
||||
jar cvfe ArgileGames.jar $(PACKAGE_PATH).Main -C build fr -C res images
|
||||
|
||||
#------- Dossiers ------
|
||||
#------- Variables ------
|
||||
|
||||
View = build/$(PACKAGE_PATH)/View/Pion.class \
|
||||
build/$(PACKAGE_PATH)/View/Grille.class \
|
||||
@@ -29,7 +21,12 @@ Events = build/$(PACKAGE_PATH)/Event/GridChangedListener.class \
|
||||
Model = build/$(PACKAGE_PATH)/Model/GrilleModel.class
|
||||
|
||||
Controller = build/$(PACKAGE_PATH)/Controller/GrilleMouseListener.class \
|
||||
build/$(PACKAGE_PATH)/Controller/ModelEventListener.class
|
||||
build/$(PACKAGE_PATH)/Controller/ModelEventListener.class \
|
||||
build/$(PACKAGE_PATH)/Controller/ResetGame.class
|
||||
|
||||
#BUT PAR DEFAUT
|
||||
ArgileGames.jar : build/$(PACKAGE_PATH)/Main.class
|
||||
jar cvfe ArgileGames.jar $(PACKAGE_PATH).Main -C build fr -C res images
|
||||
|
||||
#------- Events ------
|
||||
|
||||
@@ -104,7 +101,6 @@ build/$(PACKAGE_PATH)/View/Grille.class : src/$(PACKAGE_PATH)/View/Grille.java \
|
||||
build/$(PACKAGE_PATH)/View/Puissance4Panel.class : src/$(PACKAGE_PATH)/View/Puissance4Panel.java \
|
||||
build/$(PACKAGE_PATH)/View/Pion.class \
|
||||
build/$(PACKAGE_PATH)/View/Grille.class \
|
||||
build/$(PACKAGE_PATH)/Controller/ResetGame.class \
|
||||
build/$(PACKAGE_PATH)/Utils/Constants.class
|
||||
javac $(JAVAC_OPT) $<
|
||||
|
||||
@@ -126,11 +122,13 @@ build/$(PACKAGE_PATH)/Main.class : src/$(PACKAGE_PATH)/Main.java \
|
||||
|
||||
|
||||
# BUT FACTICES:
|
||||
.PHONY: clear doc
|
||||
.PHONY: clear doc run
|
||||
|
||||
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
|
||||
|
||||
run: ArgileGames.jar
|
||||
java -jar ArgileGames.jar
|
||||
|
||||
clear :
|
||||
rm -rf build/*
|
||||
|
Reference in New Issue
Block a user