README for single-file example program

$Source: F:/DJGPP/EXAMPLES/C/MULTI/RCS/readme.txt $
$Revision: 1.2 $
Last modified: $Date: 1997/05/13 06:39:21 $

This program demonstrates how to compile, link, and run a c program
contained in a several source files, using DJGPP.

The ...djgpp/examples/c/multi directory should contain the following
files:
   readme.txt   this text
   build.bat    batch file for compiling, linking & running the program
   makefile     make file for compiling, linking & running the program
   multi.c      c source code for the main() function
   multi.h      header file for the func1() and func2() prototypes
   func1.c      c source code for the func1() function
   func2.c      c source code for the func2() function

To compile, link, and run the program, you can type any of the
following: 
   build
   make
   make go
 
Typing "build" will execute the build.bat batch file.  Typing "make
go" will cause make to build the "go" target of the makefile, which 
happens to update the executable and then run it.  Typing "make" will
cause make to execute the default (i.e. first) target, which in this
case is the "go" target.  For more information about the make program,
consult the make info files.

Once the program is built, you can run it by typing any of the
following:
   multi
   make 
   make go

It should print a single line to the screen.

The make file also contains a target for "cleaning up".  You can
delete the executabe, the COFF file and the object file by typing:
   make clean

This program was compiled and tested on a 486DX-33 running Windows 95,
dos box, LFN=n, libc 2.01, gcc 2.7.2.1, make 3.75

