source: trunk/third/sed/djgpp/bootstrap.bat @ 17271

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.
RevLine 
[17270]1@echo off
2if exist config.h goto Compile
3echo Creating basic config.h...
4echo /* A bootstrap version of config.h for DJGPP DOS systems */ > config.h
5echo #define PACKAGE "sed" >> config.h
6echo #define VERSION "``bootstrap''" >> config.h
7echo #define BOOTSTRAP 1 >> config.h
8
9:Compile
10Rem tell the user what we're doing from here on...
11@echo on
12if exist lib\*.o del lib\*.o
13if exist sed\*.o del sed\*.o
14if exist sed\sed del sed\sed
15cd lib
16gcc -DHAVE_CONFIG_H -I.. -I. -c getopt.c getopt1.c memcmp.c memmove.c regex.c strerror.c
17cd ..\sed
18gcc -DHAVE_CONFIG_H -I.. -I. -I../lib -c sed.c compile.c execute.c utils.c
19gcc -o sed sed.o compile.o execute.o utils.o ../lib/*.o
Note: See TracBrowser for help on using the repository browser.