FIprojetAgile2022Groupe3B/projetAgile/Makefile

35 lines
1.3 KiB
Makefile
Raw Normal View History

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
2022-10-13 10:43:46 +02:00
View : build/$(PACKAGE_PATH)/View/Pion.class \
build/$(PACKAGE_PATH)/View/Grille.class
2022-10-13 10:43:46 +02:00
Utils : build/$(PACKAGE_PATH)/Utils/Utils.class
2022-10-13 10:43:46 +02:00
build/$(PACKAGE_PATH)/Utils/Utils.class : src/$(PACKAGE_PATH)/Utils/Utils.java
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/Utils/Utils.java
2022-10-13 10:43:46 +02:00
build/$(PACKAGE_PATH)/View/Pion.class : src/$(PACKAGE_PATH)/View/Pion.java \
build/$(PACKAGE_PATH)/Utils/Utils.class
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Pion.java
2022-10-13 10:43:46 +02:00
build/$(PACKAGE_PATH)/View/Grille.class : src/$(PACKAGE_PATH)/View/Grille.java \
build/$(PACKAGE_PATH)/View/Pion.class \
build/$(PACKAGE_PATH)/Utils/Utils.class
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Grille.java
2022-10-13 10:43:46 +02:00
build/$(PACKAGE_PATH)/View/TestGrille.class : src/$(PACKAGE_PATH)/View/TestGrille.java \
build/$(PACKAGE_PATH)/View/Pion.class \
build/$(PACKAGE_PATH)/View/Grille.class
javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/TestGrille.java
2022-10-13 10:43:46 +02:00
testGrille : build/$(PACKAGE_PATH)/View/TestGrille.class
java -cp build $(PACKAGE).View.TestGrille
clear :
rm -rf build/*