summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-18 15:18:05 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-18 15:18:05 +0200
commit59d6ea1df12aa2fadcab1ec5cd22b99873721869 (patch)
treea75f2a4edc3eb419585cff809025289ea8f5295e /Makefile
parent80e9830758781e46a283e493a3c2f902969c0bea (diff)
Moves the templates to accommodate the tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a959838..177bd88 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,16 @@
## Makefile Parameters #########################################################
-LEVEL_FILES = $(wildcard ${CURDIR}/data/level/*.lvl)
-PROPERTY_FILES = \
+LEVEL_FILES ?= $(wildcard ${CURDIR}/data/level/*.lvl)
+PROPERTY_FILES ?= \
$(wildcard ${CURDIR}/data/property/*.pro) \
$(wildcard ${CURDIR}/data/property/cnes/*.pro)
-AST_FILE = ${CURDIR}/data/ast/best_chronometer_ever.xml
+AST_FILE ?= ${CURDIR}/data/ast/best_chronometer_ever.xml
+TEMPLATE_DIR ?= ${CURDIR}/data/template/
#AST_FILE = ${CURDIR}/data/ast/pong.xml
-TMP_DIR = /tmp/tabellion
-MODEL_DIR = $(TMP_DIR)/mod
-MODEL_INSTANCES_DIR = $(MODEL_DIR)/instance
-SOL_DIR = $(TMP_DIR)/sol
+TMP_DIR ?= /tmp/tabellion
+MODEL_DIR ?= $(TMP_DIR)/mod
+MODEL_INSTANCES_DIR ?= $(MODEL_DIR)/instance
+SOL_DIR ?= $(TMP_DIR)/sol
## Sub-programs ################################################################
AST_TO_INSTR = ast-to-instr