56e6b83f725ff84cb71c0ce66aca02a5e1f519c8
kent
  Sun Mar 20 13:23:34 2011 -0700
Adding utility to calculate average bigWig value for a bed file.
diff --git src/utils/bigWigAverageOverBed/makefile src/utils/bigWigAverageOverBed/makefile
new file mode 100644
index 0000000..4066971
--- /dev/null
+++ src/utils/bigWigAverageOverBed/makefile
@@ -0,0 +1,18 @@
+include ../../inc/common.mk
+
+L += -lm
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  ${MYLIBDIR}/jkweb.a
+
+A = bigWigAverageOverBed
+O = bigWigAverageOverBed.o
+
+bigWigAverageOverBed: ${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}${EXE} ${O}