src/hg/snp/snpValid/makefile 1.6
1.6 2009/03/10 00:34:34 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/snp/snpValid/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/snp/snpValid/makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/hg/snp/snpValid/makefile 19 Dec 2006 23:35:26 -0000 1.5
+++ src/hg/snp/snpValid/makefile 10 Mar 2009 00:34:34 -0000 1.6
@@ -1,34 +1,34 @@
include ../../../inc/common.mk
-L = ${MYSQLLIBS} -lm
+L += ${MYSQLLIBS} -lm
MYLIBDIR = ../../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
X = snpValid
O = ${X}.o
${X}: $O ${MYLIBS}
${CC} ${COPT} -o ${X} $O ${MYLIBS} $L
${STRIP} ${X}${EXE}
cp ${X} ${BINDIR}/${X}
test:
${X} hg16 /cluster/data/hg16/bed/snp/build122/seq -chr=chr22 > hg16-chr22.log
test2:
${X} hg17 /cluster/data/hg17/bed/snp/build123/seq -chr=chr22 > hg17-chr22.log
backup: clean
date +%Y-%m-%d-%H-%M | gawk '{printf("zip snpValid-%s.zip *\n",$$1);}' > tempX
chmod 755 tempX
./tempX
rm tempX
scp *.zip screech:/scratch/backups/
rm *.zip
clean:
rm -f $O
rm -f $X
rm -f *.log
rm -f dump