about summary refs log tree commit diff stats
path: root/linux/GNUmakefile
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 /linux/GNUmakefile
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 'linux/GNUmakefile')
-rw-r--r--linux/GNUmakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/GNUmakefile b/linux/GNUmakefile
index f1dbbd1..0967fd6 100644
--- a/linux/GNUmakefile
+++ b/linux/GNUmakefile
@@ -25,6 +25,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+= linux.c