src/hg/makeDb/hgPar/makefile 1.1

1.1 2010/02/17 08:54:21 markd
added hgPar to load PSL table describing PARs
Index: src/hg/makeDb/hgPar/makefile
===================================================================
RCS file: src/hg/makeDb/hgPar/makefile
diff -N src/hg/makeDb/hgPar/makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/hg/makeDb/hgPar/makefile	17 Feb 2010 08:54:21 -0000	1.1
@@ -0,0 +1,23 @@
+include ../../../inc/common.mk
+
+L += $(MYSQLLIBS) -lm
+MYLIBDIR = ../../../lib/${MACHTYPE}
+MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
+
+A = hgPar
+O = hgPar.o parSpec.o
+
+hgPar: ${O} ${MYLIBS}
+	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+
+compile:: ${O}
+	${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L
+
+test:
+	(cd tests && ${MAKE} test)
+
+clean::
+	rm -f ${A} ${O}
+	(cd tests && ${MAKE} clean)
+