aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-22 00:18:39 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-22 00:18:39 +0000
commit01dc8d2d2eab9496f92f71839b37af505ab3be8d (patch)
treea423cdec4a0303f8f82e66de61cb7dc79030ea6f
parentda8bae6dfe487cefa39efb58aeda135baae39c10 (diff)
downloadgdb-01dc8d2d2eab9496f92f71839b37af505ab3be8d.zip
gdb-01dc8d2d2eab9496f92f71839b37af505ab3be8d.tar.gz
gdb-01dc8d2d2eab9496f92f71839b37af505ab3be8d.tar.bz2
Increase the dososity
-rw-r--r--readline/examples/.Sanitize2
-rw-r--r--readline/examples/Makefile.dos12
-rw-r--r--readline/examples/configure.bat16
3 files changed, 30 insertions, 0 deletions
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