diff options
author | David Gibson <dgibson@sneetch.(none)> | 2005-06-16 14:36:37 +1000 |
---|---|---|
committer | David Gibson <dgibson@sneetch.(none)> | 2005-06-16 14:36:37 +1000 |
commit | 4102d840d993e7cce7d5c5aea8ef696dc81236fc (patch) | |
tree | ab70f0a9e968780ed282f1bbd8d7ea1be3db5b6b /Makefile | |
parent | fc14dad7692d84d5f0f547fd0456b3f98526b6cc (diff) | |
download | dtc-4102d840d993e7cce7d5c5aea8ef696dc81236fc.zip dtc-4102d840d993e7cce7d5c5aea8ef696dc81236fc.tar.gz dtc-4102d840d993e7cce7d5c5aea8ef696dc81236fc.tar.bz2 |
Initial label support. Also switch to glr-parser mode and get rid of
hacks that were necessary without it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,8 +1,10 @@ TARGETS = dtc CFLAGS = -Wall -g +BISON = bison + OBJS = dtc.o livetree.o flattree.o data.o treesource.o fstree.o \ - y.tab.o lex.yy.o + dtc-parser.tab.o lex.yy.o all: $(TARGETS) @@ -11,13 +13,13 @@ dtc: $(OBJS) $(OBJS): dtc.h -y.tab.c y.tab.h: dtc-parser.y - $(YACC) -d $< +dtc-parser.tab.c dtc-parser.tab.h dtc-parser.output: dtc-parser.y + $(BISON) -d -v $< lex.yy.c: dtc-lexer.l $(LEX) $< -lex.yy.o: lex.yy.c y.tab.h +lex.yy.o: lex.yy.c dtc-parser.tab.h dtc-parser.c: dtc-lexer.c |