Commit 1dd91766 authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Add bison/flex .h file to Makefile and build.mk

parent 42fbfbd0
......@@ -18,6 +18,10 @@ VPATH= /lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib
@echo " AR $< in $@"
@$(AR) $(ARFLAGS) $@ $<
%.yy.h: %.l %.tab.h
@echo " FLEX $<"
@flex --header-file=$*.yy.h $<
%.tab.c %.tab.h: %.y
@echo "BISON $<"
@bison -d $<
......
......@@ -63,7 +63,7 @@ CONTROLLER= $(CONTROLLERSRCS:.c=.o)
all: il2cdir $(BLOCKS) $(CONTROLLER) controllerlib
controller_load_parser.tab.o: controller_load_parser.yy.c
controller_load_parser.tab.o: controller_load_parser.yy.c controller_load_parser.yy.h
controller_load.o: controller_load_parser.tab.h controller_load_parser.yy.h
......
Supports Markdown
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