From 0d00f7eb1d610246b1088de5e755a4299b3cf8e6 Mon Sep 17 00:00:00 2001 From: keraudre Date: Sat, 27 Apr 2024 16:05:20 +0200 Subject: [PATCH] =?UTF-8?q?cr=C3=A9ation=20du=20Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..33df9f6 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +### VARAIBLES ### + +JC = javac +JCFLAGS = -encoding UTF-8 -implicit:none + +J = java + +### REGLES ESSENTIELLES ### + +Main.class : Main.java SudokuGrid.class + ${JC} ${JCFLAGS} Main.java + +SudokuGrid.class : SudokuGrid.java + ${JC} ${JCFLAGS} SudokuGrid.java + + +### REGLES OPTIONNELLES ### + +run : Main.class + ${J} Main + +clean : + -rm -f *.class *.java~ *~ + +mrproper : clean Main.class + +### BUTS FACTISES ### + +.PHONY : run clean mrproper + +### FIN ###