2024-04-22 15:38:29 +02:00
|
|
|
### VARIABLES ###
|
|
|
|
|
|
|
|
JC = javac
|
|
|
|
JCFLAGS = -encoding UTF-8 -implicit:none
|
|
|
|
|
|
|
|
JVM = java
|
|
|
|
JVMFLAGS =
|
|
|
|
|
|
|
|
### REGLES ESSENTIELLES ###
|
|
|
|
|
2024-04-27 12:34:40 +02:00
|
|
|
mainProgramme2.class : mainProgramme2.java menuProgramme2.class
|
2024-04-30 17:28:00 +02:00
|
|
|
${JC} ${JCFLAGS} mainProgramme2.java
|
2024-04-22 15:38:29 +02:00
|
|
|
|
2024-04-30 19:21:19 +02:00
|
|
|
mainProgramme1.class : mainProgramme1.java menuProgramme1.class
|
|
|
|
${JC} ${JCFLAGS} mainProgramme1.java
|
|
|
|
|
2024-05-04 16:04:24 +02:00
|
|
|
Grille.class : Grille.java resolveurGrille.class JTextFieldCharLimit.class JeuFini.class
|
|
|
|
${JC} ${JCFLAGS} Grille.java
|
2024-04-22 15:38:29 +02:00
|
|
|
|
2024-05-04 16:04:24 +02:00
|
|
|
menuProgramme2.class : menuProgramme2.java resolveurGrille.class Grille.class
|
2024-04-30 17:28:00 +02:00
|
|
|
${JC} ${JCFLAGS} menuProgramme2.java
|
2024-04-22 15:38:29 +02:00
|
|
|
|
2024-05-04 16:04:24 +02:00
|
|
|
menuProgramme1.class : menuProgramme1.java resolveurGrille.class Grille.class
|
2024-04-30 19:21:19 +02:00
|
|
|
${JC} ${JCFLAGS} menuProgramme1.java
|
|
|
|
|
2024-04-22 15:38:29 +02:00
|
|
|
resolveurGrille.class : resolveurGrille.java
|
|
|
|
${JC} ${JCFLAGS} resolveurGrille.java
|
|
|
|
|
2024-04-30 19:21:19 +02:00
|
|
|
JTextFieldCharLimit.class : JTextFieldCharLimit.java
|
|
|
|
${JC} ${JCFLAGS} JTextFieldCharLimit.java
|
|
|
|
|
2024-05-04 14:25:52 +02:00
|
|
|
JeuFini.class : JeuFini.java
|
|
|
|
${JC} ${JCFLAGS} JeuFini.java
|
|
|
|
|
2024-04-22 15:38:29 +02:00
|
|
|
### REGLES OPTIONNELLES ###
|
|
|
|
|
2024-05-04 16:04:24 +02:00
|
|
|
editeur : mainProgramme1.class
|
2024-04-30 17:28:00 +02:00
|
|
|
${JVM} ${JVMFLAGS} mainProgramme1
|
2024-04-22 15:38:29 +02:00
|
|
|
|
2024-05-04 16:04:24 +02:00
|
|
|
resolveur : mainProgramme2.class
|
2024-04-30 17:28:00 +02:00
|
|
|
${JVM} ${JVMFLAGS} mainProgramme2
|
|
|
|
|
2024-04-22 15:38:29 +02:00
|
|
|
clean :
|
|
|
|
-rm -f *.class
|
|
|
|
|
2024-04-26 16:26:26 +02:00
|
|
|
mrproper : clean mainProgramme2.class
|
2024-04-22 15:38:29 +02:00
|
|
|
|
|
|
|
### BUTS FACTICES ###
|
|
|
|
|
|
|
|
.PHONY : run clean mrproper
|
|
|
|
|
|
|
|
### FIN ###
|