3 CFLAGS := -ansi -pedantic -D_GNU_SOURCE -g
4 OBJS := scanner.o parser.o symtable.o code.o chelper.o tree.o
10 @gcc -o $@ $(OBJS) -lfl
17 %.o: %.c parser.h symtable.h chelper.h tree.h
20 @gcc -c $(CFLAGS) $< #-Wall
23 parser.c: oxout.y chelper.h tree.h
25 @yacc -t -v -d $< -o $@
29 oxout.y oxout.l: parser.y scanner.lex
33 %.c: %.bfe chelper.h tree.h
35 @bfe < $< | iburg > $@
39 rm -f $(NAME) $(OBJS) scanner.c parser.{h,c,output} oxout.{y,l,h} code.c
42 ~/test/scripts/modlvatest_$(NAME).sh 2>&1
45 /usr/ftp/pub/ublu/test/$(NAME)/test 2>&1
48 ~/test/scripts/bench.sh $(NAME)