src/hg/ratStuff/mafsInRegion/makefile 1.4
1.4 2009/10/15 19:29:43 hiram
result properly honoring DESTDIR
Index: src/hg/ratStuff/mafsInRegion/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/ratStuff/mafsInRegion/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/hg/ratStuff/mafsInRegion/makefile 10 Mar 2009 00:34:32 -0000 1.3
+++ src/hg/ratStuff/mafsInRegion/makefile 15 Oct 2009 19:29:43 -0000 1.4
@@ -1,14 +1,14 @@
include ../../../inc/common.mk
-L += $(MYSQLLIBS) -lm
-MYLIBDIR = ../../../lib/$(MACHTYPE)
-MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
+L += ${MYSQLLIBS} -lm
+MYLIBDIR = ../../../lib/${MACHTYPE}
+MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
A = mafsInRegion
O = ${A}.o
${A}: compile
- ${STRIP} $(BINDIR)/${A}${EXE}
+ ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
compile: $O ${MYLIBS}
- ${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/${A} $O ${MYLIBS} ${L}
+ ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A} $O ${MYLIBS} ${L}