src/hg/utils/bedExtendRanges/makefile 1.4
1.4 2009/04/23 20:47:42 larrym
add BINDIR so we can add this to userApps
Index: src/hg/utils/bedExtendRanges/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/bedExtendRanges/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/hg/utils/bedExtendRanges/makefile 10 Mar 2009 00:34:38 -0000 1.3
+++ src/hg/utils/bedExtendRanges/makefile 23 Apr 2009 20:47:42 -0000 1.4
@@ -1,25 +1,26 @@
include ../../../inc/common.mk
L += -lm ${MYSQLLIBS}
MYLIBDIR = ../../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
A = bedExtendRanges
O = ${A}.o
GOODFILES = bed7.txt bed8.txt chromBoundaries.txt
compile: $(O) $(MYLIBS)
- ${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/${A} $O $(MYLIBS) $L
+ ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O $(MYLIBS) $L
+ ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
clean:
rm -f $(O)
test: good
good:
@for good in $(GOODFILES); do \
echo "Processing test file: $$good"; \
${A} hg18 259 stdin < tests/$$good; \
done