diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-06 15:20:15 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-06 15:20:15 +0000 |
commit | 40574dd289ae24721e54b25a891a4d5b11258828 (patch) | |
tree | 4796af224be5a7448540add1929ddf197221fd13 /utils | |
parent | c764fbc7887b8a842245b443ca0210b8bb1af5b5 (diff) | |
download | external_llvm-40574dd289ae24721e54b25a891a4d5b11258828.zip external_llvm-40574dd289ae24721e54b25a891a4d5b11258828.tar.gz external_llvm-40574dd289ae24721e54b25a891a4d5b11258828.tar.bz2 |
Checkin of autoconf-style object root.
Updated Makefile for new autoconf-style object root.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Burg/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/Burg/Makefile b/utils/Burg/Makefile index 13041b1..060e537 100644 --- a/utils/Burg/Makefile +++ b/utils/Burg/Makefile @@ -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 |