summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-05-24 11:26:02 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-05-24 11:26:02 +0200 |
commit | 45920f7ea00a9dad68d4f272e8360e4024e9a684 (patch) | |
tree | 776eb866b35427dd4683a0eedc2b420ec8c6e8d4 /Makefile | |
parent | 8cb12a01870067c2821ac5393556285466d820e8 (diff) |
Fixes install copy not working by default.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ BIN_DIR ?= ${CURDIR}/bin/ LIB_DIR ?= ${CURDIR}/lib/ TARGET ?= hastabel.jar -INSTALL_DIR ?= . +INSTALL_DIR ?= $(LIB_DIR) #### Where to get the missing Jar files. JAR_SOURCE ?= "https://noot-noot.org/tabellion/jar/" @@ -70,7 +70,8 @@ LangLexer%java LangParser%java: $(ANTLR_SOURCES) $(CLASSES): $(BIN_DIR)/%.class: $(SRC_DIR)/%.java $(BIN_DIR) $(JAVAC) -cp $(CLASSPATH) -d $(BIN_DIR) $< -%.jar: $(LIB_DIR) +%.jar: + $(MAKE) $(LIB_DIR) echo "Attempting to download missing jar '$@'..." cd $(LIB_DIR); $(DOWNLOADER) "$(JAR_SOURCE)/$(notdir $@)" |