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

diff --git src/hg/altSplice/affySplice/makefile src/hg/altSplice/affySplice/makefile
index eeb0c42..447e68f 100644
--- src/hg/altSplice/affySplice/makefile
+++ src/hg/altSplice/affySplice/makefile
@@ -1,27 +1,27 @@
 kentSrc = ../../..
 
 include ../../../inc/common.mk
 
-L += $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS)
 MYLIBDIR = ../../../lib/$(MACHTYPE)
 MYLIBS =  ../lib/$(MACHTYPE)/libSpliceGraph.a  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a 
 GNUSL = /cluster/home/sugnet/local
 
 % : %.c
-	$(CC) $(COPT) -I../inc -I../../inc  -I../../../inc -I$(GNUSL)/include -L$(GNUSL)/lib -o $@ $(addsuffix .c,$@) $(MYLIBS) ${L} $(MYSQLLIBS) $(GNUSL)/lib/libgsl.a $(GNUSL)/lib/libgslcblas.a -lm -lz 
+	$(CC) $(COPT) -I../inc -I../../inc  -I../../../inc -I$(GNUSL)/include -L$(GNUSL)/lib -o $@ $(addsuffix .c,$@) $(MYLIBS) ${L} $(MYSQLLIBS) $(GNUSL)/lib/libgsl.a $(GNUSL)/lib/libgslcblas.a
 	cp $@ ${BINDIR}
 
 O =  altHtmlPages bedOverlap gcPresAbs junctionSets agxStartsEnds \
      bedsSpliceCheck probeMatcher seqForExonProbes mergeAffyProbes \
       merge1lqAndCels makeRFiles rnaBindingClusterCorr calcSpliceDistance  \
      altProbes eseScorer spliceProbeVis dataMatrixToSql dataMatrixToSoft
 
 exe: $(O)
 
 test: $(TESTS)
 
 lib:
 	cd ../../lib && ${MAKE}
 
 clean::
 	rm -f ${O}