Make
This commit is contained in:
parent
f8e2cc7294
commit
ed281c2d75
@ -24,7 +24,8 @@ Controller = build/$(PACKAGE_PATH)/Puissance4/Controller/GrilleMouseListener.cla
|
||||
build/$(PACKAGE_PATH)/Puissance4/Controller/ResetGame.class
|
||||
|
||||
#BUT PAR DEFAUT
|
||||
ArgileGames.jar : build/$(PACKAGE_PATH)/Main.class
|
||||
ArgileGames.jar : build \
|
||||
build/$(PACKAGE_PATH)/Main.class
|
||||
@echo "Creating jar..."
|
||||
@jar cfme ArgileGames.jar Manifest.txt $(PACKAGE_PATH).Main res/ -C build fr
|
||||
@echo "Finished"
|
||||
@ -131,7 +132,6 @@ build/$(PACKAGE_PATH)/Menu/View/BoutonsMenu.class : src/$(PACKAGE_PATH)/Menu/Vie
|
||||
build/$(PACKAGE_PATH)/Menu/View/Menu.class : src/$(PACKAGE_PATH)/Menu/View/Menu.java \
|
||||
build/$(PACKAGE_PATH)/Menu/Controller/ObservateurMenuSouris.class \
|
||||
build/$(PACKAGE_PATH)/Menu/View/BoutonsMenu.class \
|
||||
build/$(PACKAGE_PATH)/Menu/Controleur/ObservateurAccueil.class \
|
||||
build/$(PACKAGE_PATH)/Menu/Controller/ObservateurFenetre.class \
|
||||
build/$(PACKAGE_PATH)/Puissance4/LancementPuissance4.class
|
||||
@javac $(@JAVAC_OPT) $<
|
||||
@ -150,9 +150,18 @@ build/$(PACKAGE_PATH)/Puissance4/LancementPuissance4.class : src/$(PACKAGE_PATH)
|
||||
build/$(PACKAGE_PATH)/Puissance4/Model/GrilleModel.class
|
||||
@javac -implicit:none -d build -classpath "build:res/mariadb-client.jar" -sourcepath src $<
|
||||
|
||||
|
||||
|
||||
build/$(PACKAGE_PATH)/Jeu.class : src/$(PACKAGE_PATH)/Jeu.java
|
||||
@javac $(@JAVAC_OPT) $<
|
||||
|
||||
|
||||
|
||||
build :
|
||||
@mkdir build
|
||||
@echo "Creating Folder"
|
||||
|
||||
|
||||
# BUT FACTICES:
|
||||
.PHONY: clear doc run
|
||||
|
||||
@ -166,4 +175,3 @@ run: ArgileGames.jar
|
||||
|
||||
clean :
|
||||
@rm -rf build/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user