src/hg/tcga/bamVariants/makefile 1.1
1.1 2009/09/22 17:40:54 jsanborn
initial commit
Index: src/hg/tcga/bamVariants/makefile
===================================================================
RCS file: src/hg/tcga/bamVariants/makefile
diff -N src/hg/tcga/bamVariants/makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ src/hg/tcga/bamVariants/makefile 22 Sep 2009 17:40:54 -0000 1.1
@@ -0,0 +1,23 @@
+USE_BAM = 1
+include ../../../inc/common.mk
+
+L += $(MYSQLLIBS) -lm
+MYLIBDIR = ../../../lib/${MACHTYPE}
+MYLIBS = $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
+
+ifeq (${USE_BAM},1)
+ MYLIBS += ${SAMLIB}
+endif
+
+A = bamVariants
+O = bamVariants.o
+
+bamVariants: ${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
+
+clean::
+ rm -f ${A} ${O}