summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-09-06 20:55:57 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-09-06 20:55:57 +0200 |
commit | b7db6ff35cf1d70c76dcaed027478b14f1efa7cd (patch) | |
tree | dc78b43f93099b4d48ee4fd01eef898737af07ea /Makefile | |
parent | 27e74e26dbcf1a7a68fe90b1fa3ca72e3c8da07b (diff) |
More user-friendly Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -66,6 +66,13 @@ M4_EXEC = $(M4) $(M4_OPTS) ################################################################################ ## SANITY CHECKS ############################################################### ################################################################################ +ifeq ($(strip $(wildcard $(REQUIRED_HEADERS))),) +$(error "Could not find Yaws header (yaws_api.hrl). Install Yaws and copy the aforementioned file in the INCLUDE_DIR ($(INCLUDE_DIR)).") +endif + +ifeq ($(strip $(wildcard $(DATA_DIR))),) +$(error "Could not find the game's data folder (currently set to $(DATA_DIR)). Download it and set the DATA_DIR variable to match its location.") +endif ################################################################################ @@ -83,6 +90,12 @@ MAKEFILE_TO_M4 = \ ## TARGET RULES ################################################################ ################################################################################ all: build + @echo "" + @echo "" + @echo "#### Running the server" + @echo "The server is split in two parts, which must both be run in parallel." + @echo "1) 'make run_db_node' will start the DB managing part." + @echo "2) 'make run_query_node' will start the query managing part." debug: debug_run |