| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-04-10 17:34:00 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-04-10 17:34:00 +0200 | 
| commit | d6049ddbe9ea36c60319c9626352d6088e7f641a (patch) | |
| tree | d3c9792d31b10f065335601d3eb5b6eebfc783e7 /src/battlemap/Makefile | |
| parent | 07661f0d55dc4700722ee3f66218e86d0f77a55c (diff) | |
Fixes makefiles so yaws can run.
Diffstat (limited to 'src/battlemap/Makefile')
| -rw-r--r-- | src/battlemap/Makefile | 18 | 
1 files changed, 12 insertions, 6 deletions
| diff --git a/src/battlemap/Makefile b/src/battlemap/Makefile index 8c7d206..75b3711 100644 --- a/src/battlemap/Makefile +++ b/src/battlemap/Makefile @@ -1,17 +1,23 @@  ################################################################################  ## CONFIG ######################################################################  ################################################################################ -YAWS_CONF ?= $(CONF_DIR)/yaws.conf +YAWS_CONF ?= ${CURDIR}/yaws.conf  YAWS_API_HEADER ?= /my/src/yaws/include/yaws_api.hrl +MODULE_NAME ?= $ $(shell basename ${CURDIR}) +MODULE_PORT ?= 8001 +  DIALYZER_PLT_FILE ?= tacticians-server.plt  ## Main Directories -SRC_DIR ?= src -CONF_DIR ?= conf +SRC_DIR ?= ${CURDIR}/src +CONF_DIR ?= ${CURDIR}/conf +  #### Optional Dirs -BIN_DIR ?= ebin -INCLUDE_DIR ?= include +BIN_DIR ?= ${CURDIR}/ebin +INCLUDE_DIR ?= ${CURDIR}/include +WWW_DIR ?= ${CURDIR}/www +LOG_DIR ?= ${CURDIR}/log  ## Binaries  YAWS ?= yaws @@ -22,7 +28,7 @@ DIALYZER ?= dialyzer  ################################################################################  ## MAKEFILE MAGIC ##############################################################  ################################################################################ -OPTIONAL_DIRS = $(BIN_DIR) $(INCLUDE_DIR) +OPTIONAL_DIRS = $(BIN_DIR) $(INCLUDE_DIR) $(WWW_DIR) $(LOG_DIR)  REQUIRED_HEADERS = $(INCLUDE_DIR)/yaws_api.hrl  ################################################################################ | 


