about summary refs log tree commit diff stats
path: root/osx
diff options
context:
space:
mode:
authorJohn C. Vernaleo <jcv@conformal.com>2014-07-01 16:09:52 -0400
committerJohn C. Vernaleo <jcv@conformal.com>2014-07-01 16:09:52 -0400
commit3f2826210b1128657d474926f52f5f097d706bf2 (patch)
tree0291f8af306103c3ac72f0c1115f736ac2c8fc56 /osx
parentbf6ffda86a0ae6813f32e2b9e1084dd1c4761828 (diff)
downloadxombrero-3f2826210b1128657d474926f52f5f097d706bf2.tar.gz
Set DXT_DS_RESOURCE_DIR as RESDIR in Makefile.
This removes the hardcoded path for it on all platforms.

Provided by Unit193 on irc (and initially suggested by @jrib on github).
Diffstat (limited to 'osx')
-rw-r--r--osx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/osx/Makefile b/osx/Makefile
index 691de38..e031b1f 100644
--- a/osx/Makefile
+++ b/osx/Makefile
@@ -17,6 +17,7 @@ BINDIR?= $(PREFIX)/bin
 APPDIR?= $(PREFIX)/share/applications
 MANDIR?= $(PREFIX)/share/man
 RESDIR?= $(PREFIX)/share/xombrero
+CFLAGS+= -DXT_DS_RESOURCE_DIR=\"$(RESDIR)\"
 
 SRCS= $(shell ls ../*.c)
 SRCS+= osx.c