From 216b5790ada1c9def714edc4b98bfbc2708cd3ef Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 17 Dec 2004 06:27:22 +0000 Subject: [PATCH] Pristine compilation works. --HG-- branch : libtommath extra : convert_revision : ee2b2c17161e3b1692741a3cfbc6edf85c472b2f --- makefile => Makefile.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) rename makefile => Makefile.in (95%) diff --git a/makefile b/Makefile.in similarity index 95% rename from makefile rename to Makefile.in index 17eb09b..6854e48 100644 --- a/makefile +++ b/Makefile.in @@ -2,8 +2,11 @@ # #Tom St Denis +VPATH=@srcdir@ +srcdir=@srcdir@ + # Dropbear takes flags from the toplevel makefile -CFLAGS += -I./ +CFLAGS += -I$(srcdir) #CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare @@ -112,10 +115,10 @@ manual: mandvi rm -f bn.aux bn.dvi bn.log bn.idx bn.lof bn.out bn.toc clean: - rm -f *.bat *.pdf *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \ + -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 - 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/ ; \