Increase the dososity
authorSteve Chamberlain <sac@cygnus>
Sat, 22 Feb 1992 00:18:39 +0000 (00:18 +0000)
committerSteve Chamberlain <sac@cygnus>
Sat, 22 Feb 1992 00:18:39 +0000 (00:18 +0000)
readline/examples/.Sanitize
readline/examples/Makefile.dos [new file with mode: 0644]
readline/examples/configure.bat [new file with mode: 0644]

index 1dc343b..74688ce 100644 (file)
@@ -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 (file)
index 0000000..76796ec
--- /dev/null
@@ -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 (file)
index 0000000..41366ee
--- /dev/null
@@ -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