summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-03-03 12:12:11 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-03-03 12:42:41 +0100
commitafbbc4b9470869933223e3970c7a63f1c52c1d69 (patch)
treea3aa061d33f01cdef9166d9a9515061288759952
parent161026ce49526593d0ebfd96a7c087e3e1b0f9f5 (diff)
Makefile: make LIBDIR configurable
On Fedora /usr/lib64 is used for 64 bit architectures. [rydberg@euromail.se: removed extra slash] Signed-off-by: Harald Hoyer <harald@redhat.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c61f955..f9e5c0a 100644
--- a/Makefile
+++ b/Makefile
@@ -25,8 +25,9 @@ TOBJ = $(addprefix obj/,$(addsuffix .o,$(TARGETS)))
OBJS = $(addprefix obj/,$(OBJECTS))
XOBJS = $(addprefix obj/,$(XOBJECTS))
LIBS = -lmtdev -lm
+LIBDIR = usr/lib
-DLIB = usr/lib/xorg/modules/input
+DLIB = $(LIBDIR)/xorg/modules/input
INCLUDE = -Iinclude -I/usr/include/xorg -I/usr/include/pixman-1
OPTS = -O3 -fPIC