diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-11-19 21:35:03 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-11-19 21:35:03 +0200 |
commit | c041b9c07df56c3c58067172cad6190595d09ca8 (patch) | |
tree | cadf9673f685e30f9cc1fc5792971ac79d2f8974 | |
parent | 58145a7003efe799838e12092e30cf487798dbd8 (diff) | |
parent | 321d49065b977655d9e2ba2b9efe68792ad7d83a (diff) | |
download | egawk-c041b9c07df56c3c58067172cad6190595d09ca8.tar.gz egawk-c041b9c07df56c3c58067172cad6190595d09ca8.tar.bz2 egawk-c041b9c07df56c3c58067172cad6190595d09ca8.zip |
Merge branch 'master' into feature/fix-comments
-rw-r--r-- | pc/ChangeLog | 10 | ||||
-rw-r--r-- | pc/Makefile | 15 |
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 ========================================= #======================================================================== |