60aca91bcce6d4fa555e6c7c91d8ff8aa9e7bd2b
jcasper
  Fri Jun 11 15:17:21 2021 -0700
Updating hic support for files with large headers (over 100kb) and improving
multi-region performance, refs #18842, #27593

diff --git src/hg/lib/straw/makefile src/hg/lib/straw/makefile
index 5ee630d..24e2a72 100644
--- src/hg/lib/straw/makefile
+++ src/hg/lib/straw/makefile
@@ -1,2 +1,10 @@
-straw.o: straw.cpp
-	${CXX} straw.cpp -g -c -lz -std=c++11 -lcurl -o ../straw.o
+KENT_INC=-I../../../inc
+
+straw: straw.o cStraw.o
+	ld -r -o ../straw.o straw.o cStraw.o
+straw.o: straw.cpp straw.h
+	${CXX} straw.cpp ${KENT_INC} -g -c -lz -std=c++11 -lcurl -o straw.o
+cStraw.o: cStraw.cpp straw.h
+	${CXX} cStraw.cpp ${KENT_INC} -g -c -lz -std=c++11 -lcurl -o cStraw.o
+clean:
+	rm -f straw.o cStraw.o ../straw.o