aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-11-19 21:34:39 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-11-19 21:34:39 +0200
commit321d49065b977655d9e2ba2b9efe68792ad7d83a (patch)
treedb4d6312d87896df857491486970fb40099f4e5f
parent6d54340b3e4c982adf950d30a4adcecddeb70594 (diff)
parentebfe279f3de64dcf53279669e61cd8db8e82db66 (diff)
downloadegawk-321d49065b977655d9e2ba2b9efe68792ad7d83a.tar.gz
egawk-321d49065b977655d9e2ba2b9efe68792ad7d83a.tar.bz2
egawk-321d49065b977655d9e2ba2b9efe68792ad7d83a.zip
Merge branch 'gawk-4.2-stable'
-rw-r--r--pc/ChangeLog10
-rw-r--r--pc/Makefile15
2 files changed, 25 insertions, 0 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 155c9dc2..4f081b4a 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,13 @@
+2017-11-19 Juan Manuel Guerrero <juan.guerrero@gmx.de>
+
+ * pc/Makefile (default): Add lines for the djgpp-readline-mpfr
+ and the djgpp-readline targets.
+ (djgpp-readline): New target, passes -DHAVE_LIBREADLINE to the
+ compiler and adds -lreadline to the linker command line.
+ (djgpp-readline-mpfr): New target, passes -DHAVE_LIBREADLINE and
+ -DHAVE_MPFR to the compiler and adds -lreadline -lmpfr -lgmp to
+ the linker command line.
+
2017-11-13 Juan Manuel Guerrero <juan.guerrero@gmx.de>
* Makefile (default): Add a line for the djgpp-mpfr target.
diff --git a/pc/Makefile b/pc/Makefile
index 8b53cdaa..fb34965b 100644
--- a/pc/Makefile
+++ b/pc/Makefile
@@ -23,6 +23,9 @@ default:
@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 " djgpp-readline . Like djgpp, but with readline "
+ @echo " [You will need to have GNU readline library installed.] "
+ @echo " djgpp-readline-mpfr . djgpp with readline and MPFR "
@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] "
@@ -133,6 +136,18 @@ djgpp-mpfr:
LNK=LDJG LF=-s LF2="-lmpfr -lgmp -lm" \
BIND=BDJG
+djgpp-readline:
+ $(MAK) all \
+ CC=gcc O=.o CF='-O2 -DHAVE_LIBREADLINE' \
+ LNK=LDJG LF=-s LF2="-lreadline -lm" \
+ BIND=BDJG
+
+djgpp-readline-mpfr:
+ $(MAK) all \
+ CC=gcc O=.o CF='-O2 -DHAVE_LIBREADLINE -DHAVE_MPFR' \
+ LNK=LDJG LF=-s LF2="-lreadline -lmpfr -lgmp -lm" \
+ BIND=BDJG
+
#========================================================================
#========================== EMX =========================================
#========================================================================