Commit e688eba0 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

fix build output

parent 2e8dca6e
......@@ -32,16 +32,12 @@ LIBTOOL=libtool
@$(AR) $(ARFLAGS) $@ $^
%.tab.c %.tab.h: %.y
@echo "BISON $<"
@bison -d $<
@echo " BISON $<"
bison -d $<
%.yy.h: %.l %.tab.h
%.yy.c %.yy.h: %.l %.tab.h
@echo " FLEX $<"
@flex --header-file=$*.yy.h $<
%.yy.c: %.l %.tab.h
@echo " FLEX $<"
@flex -o $@ $<
@flex --header-file=$*.yy.h -o $*.yy.c $<
# il2c: instruction list 2 c 'compiler'
%.c %.h: %.il
......
......@@ -20,6 +20,7 @@
%option noinput
%option reentrant
%option bison-bridge
%option nounput
%{
#include <stdio.h>
......
......@@ -14,7 +14,7 @@ test: il2c
SRCS= il2c.c
clean:
rm -f il2c *.o *.tab.c *.tab.h *.yy.c *.d
rm -f il2c *.o *.tab.c *.tab.h *.yy.c *.d *.lo
@$(MAKE) -C test clean
include ../../build.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment