Index: src/hg/tcga/pBamBam/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/tcga/pBamBam/makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/tcga/pBamBam/makefile	20 Dec 2009 22:17:35 -0000	1.1
+++ src/hg/tcga/pBamBam/makefile	20 Dec 2009 22:27:22 -0000	1.2
@@ -1,25 +1,34 @@
 USE_BAM = 1
 include ../../../inc/common.mk
 
 # libbam, will need to change SAMDIR to where it is on your system
 SAMDIR = /cluster/home/jsanborn/samtools
 SAMINC = ${SAMDIR}
 SAMLIB = ${SAMDIR}/libbam.a
 
 
 L += $(MYSQLLIBS) -lm
 MYLIBDIR = ../../../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
 
-A = pBamBamCNV
-O = pBamBamCNV.o bam_helper.o
+A1 = pBamBam
+O1 = pBamBam.o bam_helper.o
 
-pBamBamCNV: ${O} ${MYLIBS}
-	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} ${O} ${MYLIBS} $L
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+A2 = pBamBamCNV
+O2 = pBamBamCNV.o bam_helper.o
 
-compile:: ${O}
-	${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L
+pBamBam: ${O1} ${MYLIBS}
+	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A1}${EXE} ${O1} ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/${A1}${EXE}
+
+pBamBamCNV: ${O2} ${MYLIBS}
+	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A2}${EXE} ${O2} ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/${A2}${EXE}
+
+compile:: ${O1} ${O2}
+	${CC} ${COPT} -o ${A1}${EXE} ${O1} ${MYLIBS} $L
+	${CC} ${COPT} -o ${A2}${EXE} ${O2} ${MYLIBS} $L
 
 clean::
-	rm -f ${A} ${O}
+	rm -f ${A1} ${O1}
+	rm -f ${A2} ${O2}

