summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/maps/Makefile.am2
-rw-r--r--data/tilesets/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/data/maps/Makefile.am b/data/maps/Makefile.am
index fd7038c..b86328a 100644
--- a/data/maps/Makefile.am
+++ b/data/maps/Makefile.am
@@ -1,5 +1,7 @@
mapsdir = $(pkgdatadir)/maps
+AM_CPPFLAGS += -DMAPSDIR=\"$(mapsdir)\"
+
dist_maps_DATA = \
data/maps/forest1-8bit.tmx \
data/maps/town1.tmx \
diff --git a/data/tilesets/Makefile.am b/data/tilesets/Makefile.am
index 146aad6..ceb0381 100644
--- a/data/tilesets/Makefile.am
+++ b/data/tilesets/Makefile.am
@@ -4,6 +4,8 @@ tilesets_sources = \
tilesetsdir = $(pkgdatadir)/tilesets
+AM_CPPFLAGS += -DTILESETSDIR=\"$(tilesetsdir)\"
+
tilesets_DATA = \
data/tilesets/collision.png \
data/tilesets/mountain_landscape_19-16-8bit.png