35 lines
808 B
Makefile
35 lines
808 B
Makefile
# COMMANDES
|
|
JAVA = java
|
|
JAVAC = javac
|
|
JAVADOC = javadoc
|
|
OPTIONSDOCS = -d docs -noqualifier all
|
|
OPTIONS = -d build/fr/sae/JSonInspector -Xlint:unchecked -Xlint:deprecation
|
|
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
|
|
|
|
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
|
|
|