diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-20 08:06:55 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-20 08:06:55 (EST) |
commit | 2b13c1516e85060dc9cf4fd68fafa7459eee73fc (patch) | |
tree | 5b22bdfef91204b93b7db45f350bb8cfff0724f6 /data | |
parent | 4c79651326eeabc2a53534a3b8b1b5aff885dd5a (diff) | |
download | overworld-rpg-2b13c1516e85060dc9cf4fd68fafa7459eee73fc.zip overworld-rpg-2b13c1516e85060dc9cf4fd68fafa7459eee73fc.tar.gz overworld-rpg-2b13c1516e85060dc9cf4fd68fafa7459eee73fc.tar.bz2 |
Define installation directory preprocessor macros.
Diffstat (limited to 'data')
-rw-r--r-- | data/maps/Makefile.am | 2 | ||||
-rw-r--r-- | data/tilesets/Makefile.am | 2 |
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 |