summaryrefslogtreecommitdiff
path: root/Makefile.vc
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-05-05 13:33:25 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-05-05 13:33:25 +0000
commit40337f5898f6bb27237ca2bc0ad839b3c717bee4 (patch)
tree089f2393f95e48b86c9459dca33602ca7f557c6d /Makefile.vc
parent2776a3ee2316047ae4afd996a9123f4789713b22 (diff)
downloadmpc-40337f5898f6bb27237ca2bc0ad839b3c717bee4.tar.gz
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
Diffstat (limited to 'Makefile.vc')
-rw-r--r--Makefile.vc12
1 files changed, 8 insertions, 4 deletions
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)