From d747702ae995e149dd94f7d9c6fffbb72d8d5807 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 29 Oct 1991 09:24:48 +0000 Subject: [PATCH] Corrected lintlib entry --- util/ego/share/go.c | 4 ++++ util/ego/share/proto.make | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/util/ego/share/go.c b/util/ego/share/go.c index e199e6435..7dec9d831 100644 --- a/util/ego/share/go.c +++ b/util/ego/share/go.c @@ -24,7 +24,9 @@ STATIC bool report_flag = FALSE; /* report #optimizations found? */ +#ifdef DEBUG STATIC bool core_flag = FALSE; /* report core usage? */ +#endif STATIC mach_init(machfile,phase_machinit) @@ -79,7 +81,9 @@ go(argc,argv,initialize,optimize,phase_machinit,proc_flag) mach_init(p,phase_machinit); break; case 'C': +#ifdef DEBUG core_flag = TRUE; +#endif break; case 'Q': report_flag = TRUE; diff --git a/util/ego/share/proto.make b/util/ego/share/proto.make index f2e58288f..08b861ccf 100644 --- a/util/ego/share/proto.make +++ b/util/ego/share/proto.make @@ -96,7 +96,7 @@ opr: clean: rm -f makeclassdef classdefs.h *.$(SUF) Out out nohup.out *.$(LIBSUF) -lintlib: +lintlib: classdefs.h -mkdir $(TARGET_HOME)/lib.bin/ego $(MK_LINT_LIB) share $(TARGET_HOME)/lib.bin/ego $(CPPFLAGS) $(CFILES)