Skip to content
Browse files

Install location.

  • Loading branch information...
1 parent 655367d commit 74ccb22cb32421642fdb455df8a1a23ad9c509ae @mbalmer mbalmer committed Apr 7, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 GNUmakefile
View
5 GNUmakefile
@@ -4,6 +4,7 @@ LIB= motif
CFLAGS+= -fPIC -I/usr/include -I${PKGDIR}/include -I/usr/include/lua5.1
LDADD+= -L${XDIR}/lib -L${PKGDIR}/lib -lXm -lXt -lX11 -lm -lbsd
+PKGDIR= /usr/local
LIBDIR= ${PKGDIR}/lib/lua/5.1
${LIB}.so: ${SRCS:.c=.o}
@@ -13,5 +14,5 @@ ${LIB}.so: ${SRCS:.c=.o}
clean:
rm -f *.o *.so
install:
- cp motif.so libmotif.so /usr/lib/
-
+ -mkdir -p ${LIBDIR}
+ cp motif.so libmotif.so ${LIBDIR}

0 comments on commit 74ccb22

Please sign in to comment.
Something went wrong with that request. Please try again.