SAE21_2024/Sudoku/Makefile

40 lines
796 B
Makefile
Raw Normal View History

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