diff --git a/lang/m2/m2mm/main.c b/lang/m2/m2mm/main.c index 74042b1f0..ae222c916 100644 --- a/lang/m2/m2mm/main.c +++ b/lang/m2/m2mm/main.c @@ -91,8 +91,9 @@ main(argc, argv) ProgName = *argv++; DEFPATH = (char **) Malloc(10 * sizeof(char *)); + DEFPATH[1] = 0; mDEF = 10; - nDEF = 1; + nDEF = 2; while (--argc > 0) { if (**argv == '-') diff --git a/lang/m2/m2mm/proto.make b/lang/m2/m2mm/proto.make index e3f980489..b02229d96 100644 --- a/lang/m2/m2mm/proto.make +++ b/lang/m2/m2mm/proto.make @@ -84,6 +84,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