Fix in DEFPATH mechanism, improved proto.make

This commit is contained in:
ceriel 1992-02-26 13:35:06 +00:00
parent 1263ef9731
commit 8e99b149fc
2 changed files with 4 additions and 1 deletions

View file

@ -40,7 +40,7 @@ char options[128];
int DefinitionModule;
char *ProgName;
char **DEFPATH;
int nDEF = 1, mDEF = 10;
int nDEF = 2, mDEF = 10;
int pass_1 = 1;
t_def *Defined;
extern int err_occurred;
@ -56,6 +56,7 @@ main(argc, argv)
ProgName = *argv++;
DEFPATH = (char **) Malloc((unsigned)mDEF * sizeof(char *));
DEFPATH[1] = 0;
while (--argc > 0) {
if (**argv == '-')

View file

@ -98,6 +98,8 @@ make_macros: Makefile
echo 'COPTIONS=$(COPTIONS)' >> make_macros
echo 'LDOPTIONS=$(LDOPTIONS)' >> make_macros
echo 'LINT=$(LINT)' >> make_macros
echo 'LINTSUF=$(LINTSUF)' >> make_macros
echo 'LINTPREF=$(LINTPREF)' >> make_macros
echo 'LINTOPTIONS=$(LINTOPTIONS)' >> make_macros
echo 'SUF=$(SUF)' >> make_macros
echo 'LIBSUF=$(LIBSUF)' >> make_macros