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 #Modele jar : View modele controleur jar $(JAR_OPTION) View : build/$(PACKAGE_PATH)/View/Fenetre.class \ build/$(PACKAGE_PATH)/View/Pion.class \ build/$(PACKAGE_PATH)/View/Grille.class build/$(PACKAGE_PATH)/View/TestView.class : src/$(PACKAGE_PATH)/View/TestView.java build/$(PACKAGE_PATH)/View/Pion.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/TestView.java build/$(PACKAGE_PATH)/View/Fenetre.class : src/$(PACKAGE_PATH)/View/Fenetre.java \ build/$(PACKAGE_PATH)/modele/Question.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Fenetre.java build/$(PACKAGE_PATH)/View/Pion.class : src/$(PACKAGE_PATH)/View/Pion.java \ build/$(PACKAGE_PATH)/View/Fenetre.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Pion.java build/$(PACKAGE_PATH)/View/Grille.class : src/$(PACKAGE_PATH)/View/Grille.java javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/View/Grille.java testView : View build/$(PACKAGE_PATH)/View/TestView.class java -cp build $(PACKAGE).View.TestView modele : build/$(PACKAGE_PATH)/modele/QuestionSource.class \ build/$(PACKAGE_PATH)/modele/Question.class \ build/$(PACKAGE_PATH)/modele/QuestionChoices.class build/$(PACKAGE_PATH)/modele/TestModele.class : modele javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/modele/TestModele.java build/$(PACKAGE_PATH)/modele/QuestionSource.class : src/$(PACKAGE_PATH)/modele/QuestionSource.java \ build/$(PACKAGE_PATH)/modele/Question.class build/$(PACKAGE_PATH)/modele/QuestionChoices.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/modele/QuestionSource.java build/$(PACKAGE_PATH)/modele/Question.class : src/$(PACKAGE_PATH)/modele/Question.java \ build/$(PACKAGE_PATH)/modele/QuestionChoices.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/modele/Question.java build/$(PACKAGE_PATH)/modele/QuestionChoices.class : src/$(PACKAGE_PATH)/modele/QuestionChoices.java javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/modele/QuestionChoices.java testModele : modele build/$(PACKAGE_PATH)/modele/TestModele.class java -cp build $(PACKAGE).modele.TestModele controleur : build/$(PACKAGE_PATH)/controleur/ChoiceValidation.class \ build/$(PACKAGE_PATH)/controleur/Navigation.class \ build/$(PACKAGE_PATH)/controleur/Startup.class build/$(PACKAGE_PATH)/controleur/ChoiceValidation.class : src/$(PACKAGE_PATH)/controleur/ChoiceValidation.java build/$(PACKAGE_PATH)/View/Fenetre.class javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/controleur/ChoiceValidation.java build/$(PACKAGE_PATH)/controleur/Navigation.class : src/$(PACKAGE_PATH)/controleur/Navigation.java javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/controleur/Navigation.java build/$(PACKAGE_PATH)/controleur/Startup.class : src/$(PACKAGE_PATH)/controleur/Startup.java javac $(JAVAC_OPT) src/$(PACKAGE_PATH)/controleur/Startup.java clear : rm -rf build/*