From ef308e8bbf81cc57bd0c363395688a7b600315dc Mon Sep 17 00:00:00 2001
From: martins <clement.martins@etu.u-pec.fr>
Date: Mon, 14 Nov 2022 10:51:56 +0100
Subject: [PATCH] Makefile

---
 java/APIGroupe/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/java/APIGroupe/Makefile b/java/APIGroupe/Makefile
index e0df862..f4b3dcc 100644
--- a/java/APIGroupe/Makefile
+++ b/java/APIGroupe/Makefile
@@ -18,7 +18,8 @@ JAR_MNP = test-mnp.jar
 .PHONY : run clean doc
 
 # BUT PAR DEFAUT #
-run : ${JAR_MNP}
+run : build\
+	${JAR_MNP}
 	${EXEC_JAR} ${JAR_MNP}
 
 # AUTRE BUTS
@@ -30,7 +31,9 @@ clean :
 
 
 # REGLES DE DEPENDANCE #
-
+## Dossier  ##
+build :
+	mkdir build
 ## API ##
 ${BUILD}/API/MonPrint.class : ${SRC}/API/MonPrint.java 
 	${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/MonPrint.java