This commit is contained in:
Bilou 2023-01-16 01:56:46 +01:00
parent f286c18a6a
commit ebebcb424a

View File

@ -1,6 +1,7 @@
# COMMANDES # COMMANDES
JAVA = java JAVA = java
JAVAC = javac JAVAC = javac
JAR = java -jar
JAVADOC = javadoc JAVADOC = javadoc
OPTIONSDOCS = -d docs -noqualifier all OPTIONSDOCS = -d docs -noqualifier all
JAVAC_OPTIONS = -d build -Xlint:unchecked JAVAC_OPTIONS = -d build -Xlint:unchecked
@ -9,7 +10,7 @@ EXT = .java
# CHEMINS # CHEMINS
SRC = src/fr/sae/JSonInspector SRC = src/fr/sae/JSonInspector
BUILD = build/fr/sae/JSonInspector BUILD = build/fr/sae/JSonInspector
DOCS = docs/ DOCS = docs
CORE = Main CORE = Main
# CHEMINS RELATIF AU PROJET # CHEMINS RELATIF AU PROJET
@ -25,11 +26,13 @@ run:
make clean make clean
mkdir build/ && mkdir docs/ mkdir build/ && mkdir docs/
${JAVAC} ${JAVAC_OPTIONS} ${SETTINGS} ${GRAPHICS} ${STORAGE} ${EXCEPTION} ${MAIN} ${JAVAC} ${JAVAC_OPTIONS} ${SETTINGS} ${GRAPHICS} ${STORAGE} ${EXCEPTION} ${MAIN}
make docs
${JAR} cvfe JSonInspector.jar fr.sae.JSonInspector.Main -C build fr
cd build && java fr.sae.JSonInspector.Main && cd .. cd build && java fr.sae.JSonInspector.Main && cd ..
clean: clean:
rm -rf build && rm -rf docs rm -rf build && rm -rf docs
docs: docs:
rm -rf ${BUILD}* rm -rf ${DOCS}/*
${JAVADOC} ${OPTIONSDOCS} ${ALL} ${JAVADOC} ${OPTIONSDOCS} ${SETTINGS} ${GRAPHICS} ${STORAGE} ${EXCEPTION} ${MAIN}