714017d05fd5c43c04909b45b79023859619e520
hiram
  Mon Jan 13 09:55:40 2025 -0800
eliminate the duplication of the -lm library refs #35048

diff --git src/hg/orthoMap/makefile src/hg/orthoMap/makefile
index 7fec63a..aaa0e39 100644
--- src/hg/orthoMap/makefile
+++ src/hg/orthoMap/makefile
@@ -1,27 +1,27 @@
 kentSrc = ../..
 
 include ../../inc/common.mk
 
-L += $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS)
 MYLIBDIR = ../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
 
 E = mgcFastaForBed agxToIntronBeds bedToFrames orthoMap orthoEvaluate orthoPickIntron # spliceStats spliceVis
 
 O = orthoEval.o
 
 ${DESTDIR}${BINDIR}/%: %.c $(O)
-	$(CC) $(COPTS) -I../inc  -I../../inc  -o $@ $< $(O) $(MYLIBS) $L -lm -lz
+	$(CC) $(COPTS) -I../inc  -I../../inc  -o $@ $< $(O) $(MYLIBS) $L
 
 %Test: %Test.c 
 	${CC} ${COPT} ${CFLAGS} -Wimplicit  -I../inc -I../../inc  -o $@ $(addsuffix .c,$@) $(MYLIBS) $(L)
 
 compile: $(E:%=${DESTDIR}${BINDIR}/%)
 
 test: $(TESTS)
 
 lib:
 	cd ../../lib && ${MAKE}
 
 clean::
 	rm -f ${E} *.o