src/hg/pslSwap/makefile 1.10

1.10 2009/03/10 00:34:29 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/pslSwap/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/pslSwap/makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 1000000 -r1.9 -r1.10
--- src/hg/pslSwap/makefile	21 Feb 2008 02:13:23 -0000	1.9
+++ src/hg/pslSwap/makefile	10 Mar 2009 00:34:29 -0000	1.10
@@ -1,28 +1,28 @@
 include ../../inc/common.mk
 
-L = -lm
+L += -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 PROG = ${BINDIR}/pslSwap${EXE}
 OBJS = pslSwap.o
 
 all: ${PROG}
 
 ${PROG}: pslSwap
 	@${MKDIR} ${BINDIR}
 	cp -f pslSwap ${PROG}
 	${STRIP} ${PROG}${EXE}
 
 pslSwap: ${OBJS} ${MYLIBS}
 	${CC} ${COPT} ${CFLAGS} -o pslSwap ${OBJS} ${MYLIBS} ${MYSQLLIBS} $L
 
 test:
 	cd tests && ${MAKE} test
 
 clean:
 	rm -f pslSwap ${OBJS}
 	cd tests && ${MAKE} clean
 
 savebak:
 	savebak pslSwap makefile *.c tests/makefile tests/input