51 lines
2.1 KiB
Makefile
51 lines
2.1 KiB
Makefile
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
|
|
|
|
|
|
View : build/$(PACKAGE_PATH)/View/Pion.class \
|
|
build/$(PACKAGE_PATH)/View/Grille.class
|
|
|
|
Utils : build/$(PACKAGE_PATH)/Utils/Constants.class
|
|
|
|
build/$(PACKAGE_PATH)/Controlers/GrilleMouseListener.class : src/$(PACKAGE_PATH)/Controlers/GrilleMouseListener.java \
|
|
build/$(PACKAGE_PATH)/View/Grille.class \
|
|
build/$(PACKAGE_PATH)/Model/GrilleModel.class
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/Controlers/GrilleMouseListener.java
|
|
|
|
build/$(PACKAGE_PATH)/Model/GrilleModel.class : src/$(PACKAGE_PATH)/Model/GrilleModel.java
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/Model/GrilleModel.java
|
|
|
|
build/$(PACKAGE_PATH)/Utils/Constants.class : src/$(PACKAGE_PATH)/Utils/Constants.java
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/Utils/Constants.java
|
|
|
|
build/$(PACKAGE_PATH)/View/Pion.class : src/$(PACKAGE_PATH)/View/Pion.java \
|
|
build/$(PACKAGE_PATH)/Utils/Constants.class
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Pion.java
|
|
|
|
build/$(PACKAGE_PATH)/View/Grille.class : src/$(PACKAGE_PATH)/View/Grille.java \
|
|
build/$(PACKAGE_PATH)/View/Pion.class \
|
|
build/$(PACKAGE_PATH)/Utils/Constants.class
|
|
javac $(JAVAC_OPT) 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
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Puissance4Panel.java
|
|
|
|
build/$(PACKAGE_PATH)/View/TestGrille.class : src/$(PACKAGE_PATH)/View/TestGrille.java \
|
|
build/$(PACKAGE_PATH)/View/Puissance4Panel.class \
|
|
build/$(PACKAGE_PATH)/Model/GrilleModel.class \
|
|
build/$(PACKAGE_PATH)/Controlers/GrilleMouseListener.class
|
|
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/TestGrille.java
|
|
|
|
|
|
|
|
testGrille : build/$(PACKAGE_PATH)/View/TestGrille.class
|
|
java -cp build $(PACKAGE).View.TestGrille
|
|
|
|
clear :
|
|
rm -rf build/*
|