summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-18 02:48:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-18 02:48:30 +0200
commit68d2098f2892526d090502f2bfc1053e512a2454 (patch)
tree6071c9464ddf619ab965e24572b463151780dfe5 /crawl-ref/source/Makefile
parent5af486d44b79f94575eaa76e3bf8e3c02f73b1b9 (diff)
downloadcrawl-ref-68d2098f2892526d090502f2bfc1053e512a2454.tar.gz
crawl-ref-68d2098f2892526d090502f2bfc1053e512a2454.zip
Fail compilation if both TILES and WEBTILES are requested.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index 79894a6052..cda7190ed8 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -300,6 +300,9 @@ SQLITE_LIB := -lsqlite3
ifdef TILES
TILES_ANY = YesPlease
OBJECTS += $(TILES_OBJECTS) $(GLTILES_OBJECTS)
+ ifdef WEBTILES
+ OBJECTS += $(error Web and local tiles are exclusive)
+ endif
endif
ifdef WEBTILES