The unified diff between revisions [64da6ef5..] and [11081ab8..] is displayed below. It can also be downloaded as a raw diff.

#
#
# rename "makefile"
#     to "Makefile.in"
#
# patch "Makefile.in"
#  from [0db3fd66a1f1ef47d182d20b71279c91070272da]
#    to [a94afe6872df2c0e0f504fa6855b497a2d803bc9]
#
============================================================
--- makefile	0db3fd66a1f1ef47d182d20b71279c91070272da
+++ Makefile.in	a94afe6872df2c0e0f504fa6855b497a2d803bc9
@@ -5,16 +5,22 @@ VERSION=0.35
 #version of library
 VERSION=0.35

-CFLAGS  +=  -I./ -Wall -W -Wshadow -Wsign-compare
+VPATH=@srcdir@
+srcdir=@srcdir@

+# Dropbear takes flags from the toplevel makefile
+CFLAGS += -I$(srcdir)
+
+#CFLAGS  +=  -I./ -Wall -W -Wshadow -Wsign-compare
+
 #for speed
-CFLAGS += -O3 -funroll-all-loops
+#CFLAGS += -O3 -funroll-all-loops

 #for size
 #CFLAGS += -Os

 #x86 optimizations [should be valid for any GCC install though]
-CFLAGS  += -fomit-frame-pointer
+#CFLAGS  += -fomit-frame-pointer

 #debug
 #CFLAGS += -g3
@@ -67,7 +73,7 @@ libtommath.a:  $(OBJECTS)

 libtommath.a:  $(OBJECTS)
 	$(AR) $(ARFLAGS) libtommath.a $(OBJECTS)
-	ranlib libtommath.a
+	$(RANLIB) libtommath.a

 #make a profiled library (takes a while!!!)
 #
@@ -148,8 +154,8 @@ clean:
 	rm -f *.bat *.pdf *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \
         *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find -type f | grep [~] | xargs` *.lo *.la
 	rm -rf .libs
-	cd etc ; make clean
-	cd pics ; make clean
+	cd etc && make clean
+	cd pics && make clean

 zipup: clean manual poster docs
 	perl gen.pl ; mv mpi.c pre_gen/ ; \