From 40337f5898f6bb27237ca2bc0ad839b3c717bee4 Mon Sep 17 00:00:00 2001 From: thevenyp Date: Tue, 5 May 2009 13:33:25 +0000 Subject: Makefile.vc NEWS: Visual C makefile updated (mem.c was missing, thanks to Michael Gastineau) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@541 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- Makefile.vc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.vc') diff --git a/Makefile.vc b/Makefile.vc index d030449..bd05e05 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -27,7 +27,7 @@ # nmake /f Makefile.vc GMPDIR=gmpdirectory MPFRDIR=mpfrdirectory # compile MPC # -# nmake /f Makefile.vc install DESTDIR=installdirectory +# nmake /f Makefile.vc install GMPDIR=gmpdirectory MPFRDIR=mpfrdirectory DESTDIR=installdirectory # install MPC to installdirectory # # nmake /f Makefile.vc check GMPDIR=gmpdirectory MPFRDIR=mpfrdirectory @@ -92,6 +92,7 @@ $(DIRMPC)\init2.obj \ $(DIRMPC)\init3.obj \ $(DIRMPC)\inp_str.obj \ $(DIRMPC)\log.obj \ +$(DIRMPC)\mem.obj \ $(DIRMPC)\mul.obj \ $(DIRMPC)\mul_2exp.obj \ $(DIRMPC)\mul_fr.obj \ @@ -154,6 +155,7 @@ init2.obj \ init3.obj \ inp_str.obj \ log.obj \ +mem.obj \ mul.obj \ mul_2exp.obj \ mul_fr.obj \ @@ -215,16 +217,16 @@ clean: # install target: "nmake /f Makefile.vc install DESTDIR=xxx" to perform the installation. # -install: +install: $(LIBRARY) -mkdir $(DESTDIR) -mkdir $(DESTDIR)\include - copy $(DIRMPC)mpc.h $(DESTDIR)\include + copy $(DIRMPC)\mpc.h $(DESTDIR)\include -mkdir $(DESTDIR)\lib copy $(LIBRARY) $(DESTDIR)\lib copy $(LIBRARYLIB) $(DESTDIR)\lib # -# install target: "nmake /f Makefile.vc check GMPDIR=xxx MPFRDIR=xxx" to perform the installation. +# check target: "nmake /f Makefile.vc check GMPDIR=xxx MPFRDIR=xxx" to perform the installation. # check : test test : @@ -293,6 +295,8 @@ test : cd $(DIRMPCTESTS) && tproj.exe && cd .. $(TESTCOMPILE)treal.c $(MIDTESTCOMPILE)treal.exe $(ENDTESTCOMPILE) cd $(DIRMPCTESTS) && treal.exe && cd .. + $(TESTCOMPILE)treimref.c $(MIDTESTCOMPILE)treimref.exe $(ENDTESTCOMPILE) + cd $(DIRMPCTESTS) && treimref.exe && cd .. $(TESTCOMPILE)tsin.c $(MIDTESTCOMPILE)tsin.exe $(ENDTESTCOMPILE) cd $(DIRMPCTESTS) && tsin.exe && cd .. $(TESTCOMPILE)tsinh.c $(MIDTESTCOMPILE)tsinh.exe $(ENDTESTCOMPILE) -- cgit v1.2.1