fc403d2d57434bb2525d5709fd2b09e4f7bb0ba7 hiram Thu Aug 12 16:48:23 2010 -0700 fixing makefiles to not leave garbage around diff --git src/hg/pslPartition/makefile src/hg/pslPartition/makefile index 8ee1617..bd1f49c 100644 --- src/hg/pslPartition/makefile +++ src/hg/pslPartition/makefile @@ -4,11 +4,15 @@ MYLIBDIR = ../../lib/$(MACHTYPE) MYLIBS = $(MYLIBDIR)/jkweb.a +A = pslPartition O = pslPartition.o -${BINDIR}/pslPartition: $O $(MYLIBS) - ${CC} ${COPT} ${CFLAGS} -o pslPartition $O $(MYLIBS) $L - cp -f pslPartition $@ +$A: $O $(MYLIBS) + ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L} + ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE} + +compile:: ${O} + ${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} ${L} test: (cd tests && ${MAKE} test)