From 3e172218a6086b2b666309af8f59a4b214f0c686 Mon Sep 17 00:00:00 2001 From: "pro.boooooo" Date: Mon, 16 Jan 2023 00:19:12 +0100 Subject: [PATCH] $ --- Makefile | 49 +++++++++------------- src/.idea/workspace.xml | 90 ----------------------------------------- 2 files changed, 20 insertions(+), 119 deletions(-) delete mode 100644 src/.idea/workspace.xml diff --git a/Makefile b/Makefile index d402fa1..a5374a8 100644 --- a/Makefile +++ b/Makefile @@ -2,42 +2,33 @@ JAVA = java JAVAC = javac JAVADOC = javadoc -OPTIONSDOCS = -d docs -private -public -protected -noqualifier all -OPTIONS = -d build -Xlint:unchecked -Xlint:deprecation +OPTIONSDOCS = -d docs -noqualifier all +OPTIONS = -d build/fr/sae/JSonInspector -Xlint:unchecked -Xlint:deprecation EXT = .java # CHEMINS -SRC = src/ -BUILD = build/ +SRC = src/fr/sae/JSonInspector +BUILD = build/fr/sae/JSonInspector DOCS = docs/ -CORE = Core -GraphicsPACKAGE = Graphics/ -GraphicsPackageType = Graphics/Type/ -ConsolePACKAGE = Console/ +CORE = Main -# POUR ALLER PLUS VITE -ALL = $(SRC)*$(EXT) $(SRC)$(ConsolePACKAGE)*$(EXT) $(SRC)$(GraphicsPACKAGE)*$(EXT) $(SRC)$(GraphicsPackageType)*$(EXT) +# CHEMINS RELATIF AU PROJET +EXCEPTION = ${SRCFULLPATH}/Exception +GRAPHICS = ${SRCFULLPATH}/Graphics +SETTINGS = ${SRCFULLPATH}/Settings +STORAGE = ${SRCFULLPATH}/Storage +MAIN = ${SRCFULLPATH}/Main.java -# LE FICHIER JSON (Pour mon test) -JSON = /home/bilal-linux/toFormat.json - -.PHONY: console graphics clean docs - -console: - make clean - mkdir build && mkdir docs - $(JAVAC) $(OPTIONS) $(ALL) - cd build && $(JAVA) $(CORE) $(JSON) && cd .. - -graphics: - make clean - mkdir build && mkdir docs - $(JAVAC) $(OPTIONS) $(ALL) - cd build && $(JAVA) $(CORE) && cd .. +.PHONY: clean docs clean: - rm -rf $(BUILD) && rm -rf $(DOCS) + rm -rf ${BUILD} && rm -rf ${DOCS} docs: - rm -rf $(BUILD)* - $(JAVADOC) $(OPTIONSDOCS) $(ALL) \ No newline at end of file + rm -rf ${BUILD}* + ${JAVADOC} ${OPTIONSDOCS} ${ALL} + +# COMPILATION +${build}/Exception/JsonSyntaxException.class : ${EXCEPTION}/JsonSyntaxException.java + ${JAVAC} ${JAVAC_OPTIONS} ${EXCEPTION}/JsonSyntaxException.java + diff --git a/src/.idea/workspace.xml b/src/.idea/workspace.xml deleted file mode 100644 index e25f683..0000000 --- a/src/.idea/workspace.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1673809886930 - - - - - - - - - \ No newline at end of file