f49f3ff76c7d5591b5c65df11a5a04c77ada1e2a
larrym
  Mon Sep 26 11:18:12 2011 -0700
build hgRenderTracks as well as hgTracks (see redmine #4888)
diff --git src/hg/hgTracks/makefile.hgRenderTracks src/hg/hgTracks/makefile.hgRenderTracks
new file mode 100644
index 0000000..3f3107e
--- /dev/null
+++ src/hg/hgTracks/makefile.hgRenderTracks
@@ -0,0 +1,22 @@
+include ../../inc/common.mk
+
+L += ${MYSQLLIBS} -lm
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
+
+A = hgRenderTracks
+
+# COMMONO is defined in the parent makefile
+
+O = renderMain.o ${COMMONO} 
+
+include ../../inc/cgi_build_rules.mk
+
+%.o: %.c
+	${CC} ${COPT} ${CFLAGS} ${GBROWSE_D} ${LOWELAB_DEFS} ${HG_DEFS} ${HG_WARN} ${HG_INC} ${XINC} -o $@ -c $<
+
+mgsc: strip
+	mv $A ${CGI_BIN}/$A
+
+compile: $O
+	${CC} ${CFLAGS} -o $A $O ${MYLIBS} ${L}