Mercurial > hg > batmud > maputils
view config.mak @ 2522:2b48d0ed6b56
Move some CFLAGS from config.mak to Makefile.common.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 Aug 2023 12:50:28 +0300 |
parents | 55201a1420df |
children | 8b6a32b66e0f |
line wrap: on
line source
### ### Global settings ### WORLDMAP_FONT_FILE=MonospaceBold.ttf WORLDMAP_FONT_SCALE=8.0 WORLDMAP_UNIT_SIZE=6.0 WORLDMAP_SCALE=6 MKLOC_OPTS= MAP2PPM_OPTS= #COLORMAP_OPTS=-u "www/urchin.inc.php" -a -C COLORMAP_OPTS=-a -C COLORMAP_HTML=-f html5 # Unfortunately we require Bash for now due to {} brace expansion SHELL = /bin/bash THLIBS = th-libs/ CFLAGS += -I$(THLIBS) -I. CFLAGS += -O2 CFLAGS += -g -W -Wall -Wextra -DNDEBUG -D_XOPEN_SOURCE=500 -std=c11 #CFLAGS += -pedantic #CFLAGS += -fsanitize=address #LDFLAGS += -lasan ### ### Detect things ### HAVE_CURL ?= $(shell curl --version > /dev/null 2>&1 && echo "yes") HAVE_WGET ?= $(shell wget --version > /dev/null 2>&1 && echo "yes") HAVE_PHP ?= $(shell php --version > /dev/null 2>&1 && echo "yes") HAVE_GIMP_CONSOLE ?= $(shell gimp-console --version > /dev/null 2>&1 && echo "yes") # Wget or curl are autodetected but you can force them here #HTTPGET ?= curl -o #HTTPGET ?= wget -O ### ### Misc stuff ### RSCP = rsync -vptogzL -e ssh UPLOAD_URL = ccr@tnsp.org:/var/www/tnsp.org/maps/ BATMAP_URL = https://www.bat.org/maps/raw/ MISC_MAPS_PATH=misc/ MISC_MAPS=votk faerieforest lanzia rilynttar lorenchia \ esiris esiris2 arelium calythien tyr_farwyn \ dortlewall vendace_shore CONT_MAPS=laenor rothikgen lucentium furnachia desolathya renardy WORLD_MAPS=$(CONT_MAPS) tormentas EXTRA_WORLD_MAPS=lost_vale