summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-08-05 18:56:20 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-08-05 18:56:20 +0200
commit3117e912b50658e930397c1fabe3982df50e1ac2 (patch)
treea4079fb2329dd8f922e8a9957fe8f9754ebb0cc8 /src/core/Makefile
parentfc25970b2215d2f63ac26c05ca493aae2962310e (diff)
Adds plugin support.
Diffstat (limited to 'src/core/Makefile')
-rw-r--r--src/core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Makefile b/src/core/Makefile
index ffca63b..9f7314c 100644
--- a/src/core/Makefile
+++ b/src/core/Makefile
@@ -63,6 +63,7 @@ $(STANDALONE): $(TMP_DIR) $(TARGET) $(ANTLR_JAR)
unzip -d $(TMP_DIR) -uo $(TARGET)
unzip -d $(TMP_DIR) -uo $(ANTLR_JAR)
$(JAR) -cvfm $@ $(MANIFEST) -C $(TMP_DIR) .
+ cp $@ $(LIB_DIR)/$@
ifeq ($(INSTALL_DIR),${CURDIR})
$(TARGET): $(ANTLR_JAR) $(JAVA_SOURCES) $(CLASSES) $(MANIFEST)
@@ -79,6 +80,7 @@ clean:
rm -rf $(filter-out $(ANTLR_SOURCES),$(wildcard $(ANTLR_SOURCES:.g4=*)))
rm -rf $(BIN_DIR)/*
rm -rf $(TARGET) $(STANDALONE)
+ rm -rf $(LIB_DIR)/$(STANDALONE)
# Pattern rules can be used to generate multiple target in a single action.
%Lexer.java %Parser.java: $(ANTLR_SOURCES)