SAE32_2022/Makefile
pro.boooooo 5d7acefae2 $
2023-01-16 00:28:42 +01:00

38 lines
837 B
Makefile

# COMMANDES
JAVA = java
JAVAC = javac
JAVADOC = javadoc
OPTIONSDOCS = -d docs -noqualifier all
JAVAC_OPTIONS = -d build -cp build:$$CLASSPATH -implicit:none
EXT = .java
# CHEMINS
SRC = src/fr/sae/JSonInspector
BUILD = build/fr/sae/JSonInspector
DOCS = docs/
CORE = Main
# CHEMINS RELATIF AU PROJET
EXCEPTION = ${SRCFULLPATH}/Exception
GRAPHICS = ${SRCFULLPATH}/Graphics
SETTINGS = ${SRCFULLPATH}/Settings
STORAGE = ${SRCFULLPATH}/Storage
MAIN = ${SRCFULLPATH}/Main.java
.PHONY: clean docs run
run:
mkdir build
mkdir -p $(src)/
clean:
rm -rf ${BUILD} && rm -rf ${DOCS}
docs:
rm -rf ${BUILD}*
${JAVADOC} ${OPTIONSDOCS} ${ALL}
# COMPILATION
${build}/Exception/JsonSyntaxException.class : ${EXCEPTION}/JsonSyntaxException.java
${JAVAC} ${JAVAC_OPTIONS} ${EXCEPTION}/JsonSyntaxException.java