From 01dc8d2d2eab9496f92f71839b37af505ab3be8d Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sat, 22 Feb 1992 00:18:39 +0000 Subject: [PATCH] Increase the dososity --- readline/examples/.Sanitize | 2 ++ readline/examples/Makefile.dos | 12 ++++++++++++ readline/examples/configure.bat | 16 ++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 readline/examples/Makefile.dos create mode 100644 readline/examples/configure.bat diff --git a/readline/examples/.Sanitize b/readline/examples/.Sanitize index 1dc343b..74688ce 100644 --- a/readline/examples/.Sanitize +++ b/readline/examples/.Sanitize @@ -27,6 +27,8 @@ Things-to-keep: Inputrc Makefile +Makefile.dos +configure.bat fileman.c manexamp.c diff --git a/readline/examples/Makefile.dos b/readline/examples/Makefile.dos new file mode 100644 index 0000000..76796ec --- /dev/null +++ b/readline/examples/Makefile.dos @@ -0,0 +1,12 @@ +# This is the Makefile for the examples subdirectory of readline. -*- text -*- +# + +EXECUTABLES = fileman +CFLAGS = -g -I../.. -D__MSDOS__ -D__GO32__ +LDFLAGS = -g -L.. + +fileman: fileman.o + $(CC) $(LDFLAGS) -o fileman fileman.o -lreadline -lpc + +fileman.o: fileman.c + diff --git a/readline/examples/configure.bat b/readline/examples/configure.bat new file mode 100644 index 0000000..41366ee --- /dev/null +++ b/readline/examples/configure.bat @@ -0,0 +1,16 @@ +@echo off +if "%1" == "go32" goto h8300 +if "%1" == "h8/300" goto h8300 +echo Specify one of [ go32 h8/300 ] on command line +goto exit + +:go32 +echo Configuring readline/examples for go32 +copy Makefile.dos Makefile +goto exit + +:h8300 +echo Configuring readline/examples for H8/300 +copy Makefile.dos Makefile + +:exit -- 2.7.4