2024-04-22 15:38:29 +02:00
|
|
|
### VARIABLES ###
|
|
|
|
|
|
|
|
JC = javac
|
|
|
|
JCFLAGS = -encoding UTF-8 -implicit:none
|
|
|
|
|
|
|
|
JVM = java
|
|
|
|
JVMFLAGS =
|
|
|
|
|
|
|
|
### REGLES ESSENTIELLES ###
|
|
|
|
|
2024-04-26 16:26:26 +02:00
|
|
|
main.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-26 16:26:26 +02:00
|
|
|
menu.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-22 15:38:29 +02:00
|
|
|
${JVM} ${JVMFLAGS} main
|
|
|
|
|
|
|
|
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 ###
|