aboutsummaryrefslogtreecommitdiffstats
path: root/pc
diff options
context:
space:
mode:
Diffstat (limited to 'pc')
-rw-r--r--pc/ChangeLog6
-rw-r--r--pc/Makefile8
2 files changed, 14 insertions, 0 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 51a71d95..155c9dc2 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-13 Juan Manuel Guerrero <juan.guerrero@gmx.de>
+
+ * Makefile (default): Add a line for the djgpp-mpfr target.
+ (djgpp-mpfr): New target, passes -DHAVE_MPFR to the
+ compiler and adds -lmpfr -lgmp to the linker command line.
+
2017-11-11 Juan Manuel Guerrero <juan.guerrero@gmx.de>
* pc/Makefile.tst (sigpipe1): Exclude DJGPP from the sigpipe1 test.
diff --git a/pc/Makefile b/pc/Makefile
index bdec371c..8b53cdaa 100644
--- a/pc/Makefile
+++ b/pc/Makefile
@@ -21,6 +21,8 @@ default:
@echo "Enter $(MAK) target "
@echo " where 'target' is chosen from "
@echo " djgpp ... DOS 32-bit exe [GNU C, Delorie, v2] "
+ @echo " djgpp-mpfr . Like djgpp, but with MPFR "
+ @echo " [You will need to have GNU MPFR library installed.] "
@echo " emx ..... OS/2 32-bit exe [emx/gcc; uses emxlibc.dll] "
@echo " emxnt ... NT exe [emx/gcc with RSXNT] "
@echo " emxbnd .. OS/2 and DOS 32-bit exe [emx/gcc] "
@@ -125,6 +127,12 @@ djgpp-debug:
LNK=LDJG LF2=-lm \
BIND=BDJG
+djgpp-mpfr:
+ $(MAK) all \
+ CC=gcc O=.o CF='-O2 -DHAVE_MPFR' \
+ LNK=LDJG LF=-s LF2="-lmpfr -lgmp -lm" \
+ BIND=BDJG
+
#========================================================================
#========================== EMX =========================================
#========================================================================