30f968b727fc48b8cb8e14c42177d69c0dfa8b32 hiram Wed Jan 12 15:33:56 2011 -0800 using DESTDIR so this can be a userApp diff --git src/hg/genePredToGtf/makefile src/hg/genePredToGtf/makefile index 8936354..742379f 100644 --- src/hg/genePredToGtf/makefile +++ src/hg/genePredToGtf/makefile @@ -1,18 +1,21 @@ include ../../inc/common.mk -MYLIBDIR = ../../lib/$(MACHTYPE) -L += $(MYSQLLIBS) -lm -MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a +MYLIBDIR = ../../lib/${MACHTYPE} +L += ${MYSQLLIBS} -lm +MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a O = genePredToGtf.o -genePredToGtf: $O $(MYLIBS) makefile - ${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/genePredToGtf $O $(MYLIBS) $L - ${STRIP} ${BINDIR}/genePredToGtf${EXE} +genePredToGtf: $O ${MYLIBS} makefile + ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/genePredToGtf${EXE} $O ${MYLIBS} $L + ${STRIP} ${DESTDIR}${BINDIR}/genePredToGtf${EXE} test: cd tests && ${MAKE} test +compile: $O ${MYLIBS} makefile + ${CC} ${COPT} ${CFLAGS} -o genePredToGtf${EXE} $O ${MYLIBS} $L + clean: - rm -f $O $B + rm -f $O $B genePredToGtf cd tests && ${MAKE} clean