d8d7b36bf9eac1c01e342ec56182caa374d46c3a
tdreszer
  Mon Apr 16 12:23:34 2012 -0700
Added -lm to a bunch of makefiles since Galt's recent change (I think) calls math routines in lib code.
diff --git src/weblet/counter/makefile src/weblet/counter/makefile
index 6a1174e..251deb1 100755
--- src/weblet/counter/makefile
+++ src/weblet/counter/makefile
@@ -1,17 +1,17 @@
 include ../../inc/common.mk
 
 
 O = counter.o 
 L += -lz
 
 counter: $(O)
-	${CC} ${COPT} ${CFLAGS} $O ../../lib/$(MACHTYPE)/jkweb.a ${L}
+	${CC} ${COPT} ${CFLAGS} -lm $O ../../lib/$(MACHTYPE)/jkweb.a ${L}
 	mv ${AOUT} counter${EXE}
 	chmod a+rx counter${EXE}
 	${STRIP} counter${EXE}
 
 push:
 	mv counter.exe ${CGI_BIN}-${USER}
 
 clean::
 	rm -f ${O} ${AOUT} counter${EXE}