SAE21_2022/Makefile

105 lines
2.7 KiB
Makefile
Raw Normal View History

2023-04-18 23:45:36 +02:00
### VARIABLES ###
JC = javac
JCFLAGS = -encoding UTF-8 -implicit:none
JVM = java
JVMFLAGS =
### REGLES ESSENTIELLES ###
2023-04-24 13:54:14 +02:00
Start.class : Start.java FenetreInit.class Fenetre.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} Start.java
2023-04-24 13:17:23 +02:00
Fenetre.class : Fenetre.java
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} Fenetre.java
2023-04-24 13:17:23 +02:00
FenetreInit.class : FenetreInit.java Creer.class Importer.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} FenetreInit.java
### ========================================================================
2023-04-24 13:17:23 +02:00
Importer.class : Importer.java Lecture.class FenetreImpGrille.class FileImport.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} importer.java
2023-04-18 23:54:11 +02:00
FileImport.class : FileImport.java
${JC} ${JCFLAGS} FileImport.java
2023-04-18 23:45:36 +02:00
Lecture.class : Lecture.java outils.class
${JC} ${JCFLAGS} Lecture.java
outils.class : outils.java
${JC} ${JCFLAGS} outils.java
2023-04-24 13:17:23 +02:00
FenetreImpGrille.class : FenetreImpGrille.java Cellules.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} FenetreImpGrille.java
### ========================================================================
2023-04-24 13:17:23 +02:00
Creer.class : creer.java FenetreDefSize.class
2023-04-18 23:45:36 +02:00
${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
# ==
2023-04-24 13:17:23 +02:00
FenetreRndmGrille.class : FenetreRndmGrille.java Cellules.class PanneauModification.class Modifications.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} FenetreRndmGrille.java
2023-04-24 13:17:23 +02:00
FenetreVideGrille.class : FenetreVideGrille.java Cellules.class PanneauModification.class Modifications.class
2023-04-18 23:45:36 +02:00
${JC} ${JCFLAGS} FenetreVideGrille.java
2023-04-24 13:17:23 +02:00
Cellules.class : Cellules.java
${JC} ${JCFLAGS} Cellules.java
2023-04-18 23:45:36 +02:00
2023-04-24 13:17:23 +02:00
PanneauModification.class : PanneauModification.java GestionModif.class
${JC} ${JCFLAGS} PanneauModification.java
2023-04-18 23:45:36 +02:00
2023-04-24 13:17:23 +02:00
Modifications.class : Modifications.java ModificationsTab.class
${JC} ${JCFLAGS} Modifications.java
2023-04-18 23:45:36 +02:00
2023-04-24 13:54:14 +02:00
ModificationsTab.class : ModificationsTab.java Affichage.class
${JC} ${JCFLAGS} ModificationsTab.java
GestionModif.class : GestionModif.java Exporter.class
2023-04-24 13:17:23 +02:00
${JC} ${JCFLAGS} GestionModif.java
2023-04-18 23:45:36 +02:00
Affichage.class : Affichage.java outils.class
2023-04-24 13:17:23 +02:00
${JC} ${JCFLAGS} Affichage.java
2023-04-24 13:54:14 +02:00
Exporter.class : Exporter.java GestionExporter.class
${JC} ${JCFLAGS} Exporter.java
GestionExporter.class : GestionExporter.java PreEcriture.class
${JC} ${JCFLAGS} GestionExporter.java
PreEcriture.class : PreEcriture.java Ecriture.class
${JC} ${JCFLAGS} PreEcriture.java
Ecriture.class : Ecriture.java
${JC} ${JCFLAGS} Ecriture.java
2023-04-24 13:17:23 +02:00
# ================================
2023-04-18 23:45:36 +02:00
### REGLES OPTIONNELLES ###
run : Start.class
${JVM} ${JVMFLAGS} Start
clean :
-rm -f *.class
nettoyer :
rm .\*.class
2023-04-18 23:45:36 +02:00
mrproper : clean Start.class
### BUTS FACTICES ###
.PHONY : run clean mrproper
### FIN ###