src/hg/gsid/pwdtest/makefile 1.3

1.3 2009/03/10 00:33:57 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/gsid/pwdtest/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/gsid/pwdtest/makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 1000000 -r1.2 -r1.3
--- src/hg/gsid/pwdtest/makefile	13 Dec 2008 19:09:26 -0000	1.2
+++ src/hg/gsid/pwdtest/makefile	10 Mar 2009 00:33:57 -0000	1.3
@@ -1,21 +1,21 @@
 include ../../../inc/common.mk
 # !!! NOTE we use gcc34 here to avoid a compiler compatibility issue with openss
 CC = gcc34
 
 XINC = -I/usr/include
-L = $(MYSQLLIBS) -lm -lcrypt -lssl
+L += $(MYSQLLIBS) -lm -lcrypt -lssl
 MYLIBDIR = ../../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
 A = pwdtest
 
 O = $A.o 
 
 HG_WARN=${HG_WARN_ERR}
 
 my: compile
 	chmod a+rx $A${EXE}
 	mv $A${EXE} ${CGI_BIN}-signup/$A
 
 compile: $O $(MYLIBS)
 	${CC} ${COPT} -o $A $O $(MYLIBS) $L