232074610513870c470c1263d3c46ff9b4ac3450 hiram Tue Apr 2 17:22:55 2013 -0700 minimal makefiles now in place for kentUtils build refs #9104 diff --git src/hg/spideyToPsl/makefile src/hg/spideyToPsl/makefile index 5752ddc..1179477 100644 --- src/hg/spideyToPsl/makefile +++ src/hg/spideyToPsl/makefile @@ -1,23 +1,9 @@ -include ../../inc/common.mk - -L += -lm -MYLIBDIR = ../../lib/$(MACHTYPE) -MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a - +kentSrc = ../.. A = spideyToPsl -O = spideyToPsl.o - -spideyToPsl: $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 +test:: cd tests && ${MAKE} test - rm -f ${A}${EXE} clean:: - rm -f ${O} spideyToPsl ${BINDIR}/spideyToPsl cd tests && ${MAKE} clean