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

diff --git src/hg/altSplice/axtCountBeds/makefile src/hg/altSplice/axtCountBeds/makefile
index a407b40..cd713d3 100644
--- src/hg/altSplice/axtCountBeds/makefile
+++ src/hg/altSplice/axtCountBeds/makefile
@@ -1,21 +1,21 @@
 kentSrc = ../../..
 
 include ../../../inc/common.mk
 
-L += $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS)
 MYLIBDIR = ../../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a ../lib/$(MACHTYPE)/libSpliceGraph.a 
 
 % : %.c
-	${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc  -I../../../inc  -o $@ $(addsuffix .c,$@) $(MYLIBS) ${L} $(MYSQLLIBS) -lm -lz
+	${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc  -I../../../inc  -o $@ $(addsuffix .c,$@) $(MYLIBS) ${L} $(MYSQLLIBS)
 	cp $@ ${BINDIR}
 
 O =  axtCountBeds
 
 exe: $(O)
 
 lib:
 	cd ../../lib && ${MAKE}
 
 clean::
 	rm -f ${O}