232074610513870c470c1263d3c46ff9b4ac3450 hiram Tue Apr 2 17:22:55 2013 -0700 minimal makefiles now in place for kentUtils build refs #9104 diff --git src/hg/pslPartition/makefile src/hg/pslPartition/makefile index 423fd46..62077fc 100644 --- src/hg/pslPartition/makefile +++ src/hg/pslPartition/makefile @@ -1,22 +1,10 @@ -include ../../inc/common.mk - -L += -lm -MYLIBDIR = ../../lib/$(MACHTYPE) -MYLIBS = $(MYLIBDIR)/jkweb.a - +kentSrc = ../.. A = pslPartition -O = pslPartition.o - -$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} +include $(kentSrc)/inc/userApp.mk -test: compile - (cd tests && ${MAKE} test) - rm -fr tests/output ${A}${EXE} ${O} +test: + cd tests && ${MAKE} test + rm -fr tests/output clean:: - rm -fr tests/output ${A}${EXE} ${O} + rm -fr tests/output