diff --git a/projetAgile/Makefile b/projetAgile/Makefile index f4a6539..40bea69 100644 --- a/projetAgile/Makefile +++ b/projetAgile/Makefile @@ -4,18 +4,18 @@ PACKAGE = fr.iutfbleau.projetAgile PACKAGE_PATH = fr/iutfbleau/projetAgile JAR_OPTION = cvfe projetAgile.jar $(PACKAGE).main.Main -C build fr -C res -#BBUT PAR DEFAUT +#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 ------ 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 \ build/$(PACKAGE_PATH)/View/BoutonsMenu.class \ build/$(PACKAGE_PATH)/View/Menu.class @@ -29,7 +29,9 @@ 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/Puissance4Controller.class + #------- Events ------ build/$(PACKAGE_PATH)/Event/PlayerEvent.class : src/$(PACKAGE_PATH)/Event/PlayerEvent.java @@ -123,6 +125,10 @@ build/$(PACKAGE_PATH)/Main.class : src/$(PACKAGE_PATH)/Main.java \ build/$(PACKAGE_PATH)/Model/GrilleModel.class javac $(JAVAC_OPT) $< + +# BUT FACTICES: +.PHONY: clear doc + 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 @@ -130,7 +136,3 @@ doc : clear : rm -rf build/* -# BUT FACTICES: -.PHONY: clear doc - -