Fix in DEFPATH mechanism, improved proto.make
This commit is contained in:
parent
baf10676a3
commit
1263ef9731
|
@ -91,8 +91,9 @@ main(argc, argv)
|
||||||
|
|
||||||
ProgName = *argv++;
|
ProgName = *argv++;
|
||||||
DEFPATH = (char **) Malloc(10 * sizeof(char *));
|
DEFPATH = (char **) Malloc(10 * sizeof(char *));
|
||||||
|
DEFPATH[1] = 0;
|
||||||
mDEF = 10;
|
mDEF = 10;
|
||||||
nDEF = 1;
|
nDEF = 2;
|
||||||
|
|
||||||
while (--argc > 0) {
|
while (--argc > 0) {
|
||||||
if (**argv == '-')
|
if (**argv == '-')
|
||||||
|
|
|
@ -84,6 +84,8 @@ make_macros: Makefile
|
||||||
echo 'COPTIONS=$(COPTIONS)' >> make_macros
|
echo 'COPTIONS=$(COPTIONS)' >> make_macros
|
||||||
echo 'LDOPTIONS=$(LDOPTIONS)' >> make_macros
|
echo 'LDOPTIONS=$(LDOPTIONS)' >> make_macros
|
||||||
echo 'LINT=$(LINT)' >> make_macros
|
echo 'LINT=$(LINT)' >> make_macros
|
||||||
|
echo 'LINTSUF=$(LINTSUF)' >> make_macros
|
||||||
|
echo 'LINTPREF=$(LINTPREF)' >> make_macros
|
||||||
echo 'LINTOPTIONS=$(LINTOPTIONS)' >> make_macros
|
echo 'LINTOPTIONS=$(LINTOPTIONS)' >> make_macros
|
||||||
echo 'SUF=$(SUF)' >> make_macros
|
echo 'SUF=$(SUF)' >> make_macros
|
||||||
echo 'LIBSUF=$(LIBSUF)' >> make_macros
|
echo 'LIBSUF=$(LIBSUF)' >> make_macros
|
||||||
|
|
Loading…
Reference in a new issue