Fix proto.make and initialize inctable better

This commit is contained in:
ceriel 1992-02-25 11:07:45 +00:00
parent 0bfa4970c5
commit baf10676a3
2 changed files with 3 additions and 0 deletions

View file

@ -43,6 +43,7 @@ main(argc, argv)
inc_total = 3; inc_total = 3;
inctable[0] = "."; inctable[0] = ".";
inctable[1] = "/usr/include"; inctable[1] = "/usr/include";
inctable[2] = (char *) 0;
init_pp(); /* initialise the preprocessor macros */ init_pp(); /* initialise the preprocessor macros */
/* Note: source file "-" indicates that the source is supplied /* Note: source file "-" indicates that the source is supplied

View file

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