96 lines
2.5 KiB
Makefile
96 lines
2.5 KiB
Makefile
### VARIABLES ###
|
|
|
|
JC = javac
|
|
JCFLAGS = -encoding UTF-8 -implicit:none
|
|
|
|
JVM = java
|
|
JVMFLAGS =
|
|
|
|
### REGLES ESSENTIELLES ###
|
|
|
|
Start.class : Start.java Fenetre.class FenetreInit.class
|
|
${JC} ${JCFLAGS} Start.java
|
|
|
|
Fenetre.class : Fenetre.java FenetreInit.class
|
|
${JC} ${JCFLAGS} Fenetre.java
|
|
|
|
FenetreInit.class : FenetreInit.java creer.class importer.class
|
|
${JC} ${JCFLAGS} FenetreInit.java
|
|
|
|
### ========================================================================
|
|
|
|
importer.class : importer.java Lecture.class FenetreImpGrille.class
|
|
${JC} ${JCFLAGS} importer.java
|
|
|
|
Lecture.class : Lecture.java outils.class
|
|
${JC} ${JCFLAGS} Lecture.java
|
|
|
|
outils.class : outils.java
|
|
${JC} ${JCFLAGS} outils.java
|
|
|
|
FenetreImpGrille.class : FenetreImpGrille.java
|
|
${JC} ${JCFLAGS} FenetreImpGrille.java
|
|
|
|
### ========================================================================
|
|
|
|
creer.class : creer.java FenetreDefSize.class
|
|
${JC} ${JCFLAGS} creer.java
|
|
|
|
FenetreDefSize.class : FenetreDefSize.java ChoixEtTaille.class
|
|
${JC} ${JCFLAGS} FenetreDefSize.java
|
|
|
|
ChoixEtTaille.class : ChoixEtTaille.java FenetreRndmGrille.class FenetreVideGrille.class
|
|
${JC} ${JCFLAGS} ChoixEtTaille.java
|
|
|
|
# ==
|
|
FenetreRndmGrille.class : FenetreRndmGrille.java OptionsFRG.class ModificationsFRG.class
|
|
${JC} ${JCFLAGS} FenetreRndmGrille.java
|
|
|
|
ModificationsFRG.class : ModificationsFRG.java
|
|
${JC} ${JCFLAGS} ModificationsFRG.java
|
|
|
|
OptionsFRG.class : OptionsFRG.java OptionsBoutonsFRG.class
|
|
${JC} ${JCFLAGS} OptionsFRG.java
|
|
|
|
OptionsBoutonsFRG.class : OptionsBoutonsFRG.java ExporterFRG.class
|
|
${JC} ${JCFLAGS} OptionsBoutonsFRG.java
|
|
|
|
ExporterFRG.class : ExporterFRG.java Enregistrer.class
|
|
${JC} ${JCFLAGS} ExporterFRG.java
|
|
# ==
|
|
FenetreVideGrille.class : FenetreVideGrille.java OptionsFVG.class ModificationsFVG.class
|
|
${JC} ${JCFLAGS} FenetreVideGrille.java
|
|
|
|
ModificationsFVG.class : ModificationsFVG.java
|
|
${JC} ${JCFLAGS} ModificationsFVG.java
|
|
|
|
OptionsFVG.class : OptionsFVG.java FenetreVideGrille.class
|
|
${JC} ${JCFLAGS} OptionsFVG.java
|
|
|
|
OptionsBoutonsFVG.class : OptionsBoutonsFVG.java ExporterFVG.class
|
|
${JC} ${JCFLAGS} OptionsBoutonsFVG.java
|
|
|
|
ExporterFVG.class : ExporterFVG.java Enregistrer.class
|
|
${JC} ${JCFLAGS} ExporterFVG.java
|
|
|
|
### =========================================================================
|
|
|
|
Enregistrer.class : Enregistrer.java
|
|
${JC} ${JCFLAGS} Enregistrer.java
|
|
|
|
|
|
### REGLES OPTIONNELLES ###
|
|
|
|
run : Start.class
|
|
${JVM} ${JVMFLAGS} Start
|
|
|
|
clean :
|
|
-rm -f *.class
|
|
|
|
mrproper : clean Start.class
|
|
|
|
### BUTS FACTICES ###
|
|
|
|
.PHONY : run clean mrproper
|
|
|
|
### FIN ###
|