Fix in DEFPATH mechanism, improved proto.make
This commit is contained in:
parent
1263ef9731
commit
8e99b149fc
|
@ -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 == '-')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue