2022-05-20 13:39:53 +02:00
|
|
|
### VARIABLES ###
|
|
|
|
|
|
|
|
JC = javac
|
|
|
|
JCFLAGS = -encoding UTF-8 -implicit:none
|
|
|
|
|
|
|
|
JVM = java
|
|
|
|
JVMFLAGS =
|
|
|
|
|
|
|
|
### REGLES ESSENTIELLES ###
|
|
|
|
|
2022-05-23 16:10:45 +02:00
|
|
|
Main.class : Main.java FrameMenu.class
|
2022-05-20 13:39:53 +02:00
|
|
|
${JC} ${JCFLAGS} Main.java
|
|
|
|
|
2022-05-25 10:42:04 +02:00
|
|
|
FrameMenu.class : FrameMenu.java SettingsListener.class NewGameListener.class Chargement.class
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} FrameMenu.java
|
|
|
|
|
|
|
|
SettingsListener.class : SettingsListener.java
|
|
|
|
${JC} ${JCFLAGS} SettingsListener.java
|
|
|
|
|
2022-05-25 10:42:04 +02:00
|
|
|
NewGameListener.class : NewGameListener.java FrameJeu.class
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} NewGameListener.java
|
|
|
|
|
2022-05-25 10:42:04 +02:00
|
|
|
Chargement.class : Chargement.java FrameJeu.class
|
|
|
|
${JC} ${JCFLAGS} Chargement.java
|
|
|
|
|
2022-05-23 16:10:45 +02:00
|
|
|
FrameJeu.class : FrameJeu.java Grille.class
|
|
|
|
${JC} ${JCFLAGS} FrameJeu.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
Grille.class : Grille.java Banniere.class Case.class
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Grille.java
|
|
|
|
|
2022-05-25 10:42:04 +02:00
|
|
|
Banniere.class : Banniere.java MenuListener.class SaveListener.class
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Banniere.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
Case.class : Case.java ListenerCase.class Entourage.class Etoile.class Doute.class
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Case.java
|
|
|
|
|
2022-05-23 19:32:09 +02:00
|
|
|
MenuListener.class : MenuListener.java
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} MenuListener.java
|
|
|
|
|
2022-05-25 10:42:04 +02:00
|
|
|
SaveListener.class : SaveListener.java SaveManager.class
|
|
|
|
${JC} ${JCFLAGS} SaveListener.java
|
|
|
|
|
|
|
|
SaveManager.class : SaveManager.java
|
|
|
|
${JC} ${JCFLAGS} SaveManager.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
ListenerCase.class : ListenerCase.java
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} ListenerCase.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
Entourage.class : Entourage.java
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Entourage.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
Etoile.class : Etoile.java
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Etoile.java
|
|
|
|
|
2022-05-25 13:37:32 +02:00
|
|
|
Doute.class : Doute.java
|
2022-05-23 16:10:45 +02:00
|
|
|
${JC} ${JCFLAGS} Doute.java
|
|
|
|
|
|
|
|
|
2022-05-20 13:39:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
### REGLES OPTIONNELLES ###
|
|
|
|
|
|
|
|
run : Main.class
|
|
|
|
${JVM} ${JVMFLAGS} Main
|
|
|
|
|
|
|
|
clean :
|
|
|
|
-rm -f *.class
|
|
|
|
|
|
|
|
mrproper : clean Main.class
|
|
|
|
|
|
|
|
### BUTS FACTICES ###
|
|
|
|
|
|
|
|
.PHONY : run clean mrproper
|
|
|
|
|
|
|
|
### FIN ###
|