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
|
|
|
|
|
|
|
|
grille.class : grille.java resolveurGrille.class JTextFieldCharLimit.class
|
2024-04-22 15:38:29 +02:00
|
|
|
${JC} ${JCFLAGS} grille.java
|
|
|
|
|
2024-04-27 12:34:40 +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-04-30 19:21:19 +02:00
|
|
|
menuProgramme1.class : menuProgramme1.java resolveurGrille.class grille.class
|
|
|
|
${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-04-22 15:38:29 +02:00
|
|
|
### REGLES OPTIONNELLES ###
|
|
|
|
|
2024-04-30 17:28:00 +02:00
|
|
|
run1 : mainProgramme1.class
|
|
|
|
${JVM} ${JVMFLAGS} mainProgramme1
|
2024-04-22 15:38:29 +02:00
|
|
|
|
2024-04-30 17:28:00 +02:00
|
|
|
run2 : mainProgramme2.class
|
|
|
|
${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 ###
|