From 9c2898e0ea03233083f1d2c40525042fd54f3f62 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Mon, 10 Mar 2014 00:04:27 +0000
Subject: [PATCH] [Change] DATA_DEF should work better now.

---
 bin/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/Makefile b/bin/Makefile
index b9246b2..9ffc528 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -8,7 +8,7 @@ OS := LINUX
 export OS
 
 # Data path.
-#DATA_DEF := "ldata"
+#DATA_DEF := \"ldata\"
 
 #CC = clang
 
@@ -31,6 +31,9 @@ CTTF := $(shell freetype-config --cflags)
 CPNG := #$(shell libpng-config libpng --cflags)
 CGL  :=
 CFLAGS := $(CLUA) $(CSDL) $(CXML) $(CTTF) $(CPNG) $(CGL) $(VERSION) -D$(OS)
+ifdef DATA_DEF
+CFLAGS += -DDATA_DEF=$(DATA_DEF)
+endif
 
 # OS Stuff.
 ifeq ($(OS),LINUX)