5cc797a7d7058d8b96f35314a3be5c13f94644c0 hiram Tue Aug 17 15:03:54 2010 -0700 MYSQLLIBS should be on the L += line, not the MYLIBS line diff --git src/hg/pslDiff/makefile src/hg/pslDiff/makefile index 48e94ed..3a33fc8 100644 --- src/hg/pslDiff/makefile +++ src/hg/pslDiff/makefile @@ -1,30 +1,30 @@ include ../../inc/common.mk -L += -lm +L += ${MYSQLLIBS} -lm MYLIBDIR = ../../lib/${MACHTYPE} -MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a ${MYSQLLIBS} +MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a O = pslSets.o pslDiff.o # pslDiff.o A = pslDiff $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} pslDiff.o: pslDiff.c pslSets.h test: compile cd tests && ${MAKE} test rm -f ${A}${EXE} clean: rm -f $O $B pslDiff cd tests && ${MAKE} clean savebak: savebak pslDiff makefile *.c