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/Utils.class build/$(PACKAGE_PATH)/Utils/Utils.class : src/$(PACKAGE_PATH)/Utils/Utils.java javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/Utils/Utils.java 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 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 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 testGrille : build/$(PACKAGE_PATH)/View/TestGrille.class java -cp build $(PACKAGE).View.TestGrille clear : rm -rf build/*