SAE21_2024/Sudoku/Makefile

49 lines
1.1 KiB
Makefile

### VARIABLES ###
JC = javac
JCFLAGS = -encoding UTF-8 -implicit:none
JVM = java
JVMFLAGS =
### REGLES ESSENTIELLES ###
mainProgramme2.class : mainProgramme2.java menuProgramme2.class
${JC} ${JCFLAGS} mainProgramme2.java
mainProgramme1.class : mainProgramme1.java menuProgramme1.class
${JC} ${JCFLAGS} mainProgramme1.java
grille.class : grille.java resolveurGrille.class JTextFieldCharLimit.class
${JC} ${JCFLAGS} grille.java
menuProgramme2.class : menuProgramme2.java resolveurGrille.class grille.class
${JC} ${JCFLAGS} menuProgramme2.java
menuProgramme1.class : menuProgramme1.java resolveurGrille.class grille.class
${JC} ${JCFLAGS} menuProgramme1.java
resolveurGrille.class : resolveurGrille.java
${JC} ${JCFLAGS} resolveurGrille.java
JTextFieldCharLimit.class : JTextFieldCharLimit.java
${JC} ${JCFLAGS} JTextFieldCharLimit.java
### REGLES OPTIONNELLES ###
run1 : mainProgramme1.class
${JVM} ${JVMFLAGS} mainProgramme1
run2 : mainProgramme2.class
${JVM} ${JVMFLAGS} mainProgramme2
clean :
-rm -f *.class
mrproper : clean mainProgramme2.class
### BUTS FACTICES ###
.PHONY : run clean mrproper
### FIN ###