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 #------- Dossiers ------ View : build/$(PACKAGE_PATH)/View/Pion.class \ build/$(PACKAGE_PATH)/View/Grille.class \ build/$(PACKAGE_PATH)/View/Puissance4Panel.class \ build/$(PACKAGE_PATH)/View/TestGrille.class Utils : build/$(PACKAGE_PATH)/Utils/Constants.class Events : build/$(PACKAGE_PATH)/Controller/EventListener/GridChangedListener.class \ build/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.class \ build/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.class Model : build/$(PACKAGE_PATH)/Model/GrilleModel.class Controller : build/$(PACKAGE_PATH)/Controller/GrilleMouseListener.class #------- Events ------ build/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.class : src/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.java javac $(JAVAC_OPT) $< build/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.class : src/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.java javac $(JAVAC_OPT) $< build/$(PACKAGE_PATH)/Controller/EventListener/GridChangedListener.class : src/$(PACKAGE_PATH)/Controller/EventListener/GridChangedListener.java \ build/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.class \ build/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.class javac $(JAVAC_OPT) $< build/$(PACKAGE_PATH)/Controller/EventListener/AbstractGridInitiater.class : src/$(PACKAGE_PATH)/Controller/EventListener/AbstractGridInitiater.java \ build/$(PACKAGE_PATH)/Controller/EventListener/GridChangedListener.class \ build/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.class \ build/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.class javac $(JAVAC_OPT) $< #------- Controleur ------ build/$(PACKAGE_PATH)/Controller/GrilleMouseListener.class : src/$(PACKAGE_PATH)/Controller/GrilleMouseListener.java \ build/$(PACKAGE_PATH)/View/Grille.class \ build/$(PACKAGE_PATH)/Model/GrilleModel.class javac $(JAVAC_OPT) $< #------- Modele ------ build/$(PACKAGE_PATH)/Model/GrilleModel.class : src/$(PACKAGE_PATH)/Model/GrilleModel.java \ build/$(PACKAGE_PATH)/Controller/EventListener/AbstractGridInitiater.class javac $(JAVAC_OPT) $< #------- Utils ------ build/$(PACKAGE_PATH)/Utils/Constants.class : src/$(PACKAGE_PATH)/Utils/Constants.java javac $(JAVAC_OPT) $< #------- Vue ------ build/$(PACKAGE_PATH)/View/Pion.class : src/$(PACKAGE_PATH)/View/Pion.java \ build/$(PACKAGE_PATH)/Utils/Constants.class javac $(JAVAC_OPT) $< build/$(PACKAGE_PATH)/View/Grille.class : src/$(PACKAGE_PATH)/View/Grille.java \ build/$(PACKAGE_PATH)/View/Pion.class \ build/$(PACKAGE_PATH)/Controller/EventListener/GridChangedListener.class \ build/$(PACKAGE_PATH)/Controller/EventListener/GridEvent.class \ build/$(PACKAGE_PATH)/Controller/EventListener/PlayerEvent.class \ build/$(PACKAGE_PATH)/Utils/Constants.class javac $(JAVAC_OPT) $< 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) $< 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)/Controller/GrilleMouseListener.class javac $(JAVAC_OPT) $< testGrille : Controller Model View Utils Events java -cp build $(PACKAGE).View.TestGrille clear : rm -rf build/*