src/hg/bedItemOverlapCount/makefile 1.8
1.8 2009/04/23 20:46:01 larrym
add DESTDIR so we can add this to userApps
Index: src/hg/bedItemOverlapCount/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/bedItemOverlapCount/makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/bedItemOverlapCount/makefile 10 Mar 2009 00:33:43 -0000 1.7
+++ src/hg/bedItemOverlapCount/makefile 23 Apr 2009 20:46:01 -0000 1.8
@@ -7,10 +7,11 @@
A = bedItemOverlapCount
O = bedItemOverlapCount.o
${A}: ${O} ${MYLIBS}
- ${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/${A} $O ${MYLIBS} $L
- ${STRIP} ${BINDIR}/${A}${EXE}
+ @${MKDIR} "${DESTDIR}${BINDIR}"
+ ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A} $O ${MYLIBS} $L
+ ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
test: ${A}
cd tests && ./RunTest.sh