Fix proto.make and initialize inctable better
This commit is contained in:
parent
0bfa4970c5
commit
baf10676a3
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue