view config.mak @ 2828:85fedaea180a default tip

Fix Aelena opening date.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 15 May 2024 13:51:54 +0300
parents 822588370149
children
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
### Note - some things are detected in "Makefile" for *NIX builds,
### and set in Makefile.cross-mingw
###
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
###
# rsync command for uploading files
RSCP_COMMAND = rsync -vptogzL -e ssh
RSCP_UPLOAD_URL = ccr@tnsp.org:/var/www/tnsp.org/maps/

# Download URL for raw ASCII world maps
BATMAP_URL = https://www.bat.org/maps/raw/

# List of miscellaneous maps to build
MISC_MAPS_PATH=misc/
MISC_MAPS=votk faerieforest lanzia rilynttar lorenchia \
	esiris esiris2 arelium calythien tyr_farwyn \
	dortlewall vendace_shore shadowkeep

# Continent maps etc
CONT_MAPS=laenor rothikgen lucentium furnachia desolathya renardy
WORLD_MAPS=$(CONT_MAPS) tormentas
EXTRA_WORLD_MAPS=lost_vale