@pr $(FILES) ../lib/rec ../lib/incl Makefile
lint:
- $(LINT) $(INCLUDES) $(CFILES)
+ $(LINT) $(INCLUDES) -DLIBDIR=$(LIBDIRSTR) $(CFILES)
clean:
-rm -f *.o LL.temp LL.xxx LL.output LLgen LLgen.c tokens.c Lpars.[ch] parser
opentemp(f_input);
correct_prefix();
/* generate code ... */
+ if (!firsts) fputs("#define LLNOFIRSTS\n", fpars);
if (ansi_c) fputs("#define LL_ANSI_C 1\n", fpars);
fprintf(fpars, "#define LL_LEXI %s\n", lexical);
copyfile(incl_file);
* If a definition has to be produced, "mkdef" is set to 1.
*/
register int l;
- char add_semi = ' ';
int delayed = 0;
ltext[0] = '\0';
extern copyfile();
extern install();
extern char *mktemp();
-# ifndef NDEBUG
-extern badassertion();
-# endif not NDEBUG
main(argc,argv) register string argv[]; {
register string arg;
DEFINES = -DNDEBUG
CFLAGS = $(DEFINES) $(INCLUDES) $(COPTIONS)
LDFLAGS=$(LDOPTIONS)
+LINTFLAGS=$(LINTOPTIONS) $(DEFINES) $(INCLUDES) -DNORCSID
LLOPT= # -vvv -x
@pr $(FILES) $(SRC_HOME)/util/LLgen/lib/rec $(SRC_HOME)/util/LLgen/lib/incl
lint: parser
- $(LINT) $(LINTFLAGS) $(INCLUDES) $(CFILES)
+ $(LINT) $(LINTFLAGS) -DLIBDIR=$(LIBDIRSTR) $(CFILES)
clean:
-rm -f *.$(SUF) LL.temp LL.xxx LL.output LLgen LLgen.c tokens.c Lpars.[ch] parser