Revision 17271,
687 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17270,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[17270] | 1 | @echo off
|
---|
| 2 | if exist config.h goto Compile
|
---|
| 3 | echo Creating basic config.h...
|
---|
| 4 | echo /* A bootstrap version of config.h for DJGPP DOS systems */ > config.h
|
---|
| 5 | echo #define PACKAGE "sed" >> config.h
|
---|
| 6 | echo #define VERSION "``bootstrap''" >> config.h
|
---|
| 7 | echo #define BOOTSTRAP 1 >> config.h
|
---|
| 8 |
|
---|
| 9 | :Compile
|
---|
| 10 | Rem tell the user what we're doing from here on...
|
---|
| 11 | @echo on
|
---|
| 12 | if exist lib\*.o del lib\*.o
|
---|
| 13 | if exist sed\*.o del sed\*.o
|
---|
| 14 | if exist sed\sed del sed\sed
|
---|
| 15 | cd lib
|
---|
| 16 | gcc -DHAVE_CONFIG_H -I.. -I. -c getopt.c getopt1.c memcmp.c memmove.c regex.c strerror.c
|
---|
| 17 | cd ..\sed
|
---|
| 18 | gcc -DHAVE_CONFIG_H -I.. -I. -I../lib -c sed.c compile.c execute.c utils.c
|
---|
| 19 | gcc -o sed sed.o compile.o execute.o utils.o ../lib/*.o
|
---|
Note: See
TracBrowser
for help on using the repository browser.