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-22 15:38:29 +02:00
|
|
|
${JC} ${JCFLAGS} main.java
|
|
|
|
|
|
|
|
grille.class : grille.java resolveurGrille.class
|
|
|
|
${JC} ${JCFLAGS} grille.java
|
|
|
|
|
2024-04-27 12:34:40 +02:00
|
|
|
menuProgramme2.class : menuProgramme2.java resolveurGrille.class grille.class
|
2024-04-22 15:38:29 +02:00
|
|
|
${JC} ${JCFLAGS} menu.java
|
|
|
|
|
|
|
|
resolveurGrille.class : resolveurGrille.java
|
|
|
|
${JC} ${JCFLAGS} resolveurGrille.java
|
|
|
|
|
|
|
|
### REGLES OPTIONNELLES ###
|
|
|
|
|
2024-04-26 16:26:26 +02:00
|
|
|
run : mainProgramme2.class
|
2024-04-27 12:34:40 +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 ###
|