Checkin of autoconf-style object root.

Updated Makefile for new autoconf-style object root.

llvm-svn: 8385
This commit is contained in:
John Criswell 2003-09-06 15:20:15 +00:00
parent e21fe62d3c
commit 0fedf61a71

View File

@ -1,13 +1,15 @@
LEVEL = ../..
TOOLNAME = burg
ExtraSource = gram.tab.c
ExtraSource = $(SourceDir)/gram.tab.c
include $(LEVEL)/Makefile.common
gram.tab.c gram.tab.h:: gram.yc
$(VERB) $(BISON) -o gram.tab.c -d $<
VPATH=$(SourceDir)
lex.c: gram.tab.h
$(SourceDir)/gram.tab.c $(SourceDir)/gram.tab.h:: gram.yc
$(VERB) $(BISON) -o $(SourceDir)/gram.tab.c -d $<
$(SourceDir)/lex.c: $(SourceDir)/gram.tab.h
clean::
rm -ff gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp