From: ceriel Date: Tue, 29 Oct 1991 09:24:48 +0000 (+0000) Subject: Corrected lintlib entry X-Git-Tag: release-5-5~678 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d747702ae995e149dd94f7d9c6fffbb72d8d5807;p=ack.git Corrected lintlib entry --- 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)