aboutsummaryrefslogtreecommitdiffstats
path: root/utils/Burg
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-11 13:57:48 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-11 13:57:48 +0000
commitaff713cca56dced4a1423f6cbab666ea30e93c23 (patch)
tree019fa36ed1b4696e8b6fc1d7d77805dbdd91ff14 /utils/Burg
parent01e6d2a4c7efcb030c58c2fa17f74ab4610b4463 (diff)
downloadexternal_llvm-aff713cca56dced4a1423f6cbab666ea30e93c23.zip
external_llvm-aff713cca56dced4a1423f6cbab666ea30e93c23.tar.gz
external_llvm-aff713cca56dced4a1423f6cbab666ea30e93c23.tar.bz2
Updated to the new Makefile.common.
Modified the test rule so that it can be added to the regular test rule (I believe the term is double dependency?). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/Burg')
-rw-r--r--utils/Burg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/Burg/Makefile b/utils/Burg/Makefile
index 0e00e32..34fb346 100644
--- a/utils/Burg/Makefile
+++ b/utils/Burg/Makefile
@@ -13,13 +13,13 @@ lex.c: gram.tab.h
clean::
rm -ff gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp
-$(BUILD_ROOT)/Release/lex.o $(BUILD_ROOT)/Profile/lex.o $(BUILD_ROOT)/Debug/lex.o: gram.tab.h
+$(BUILD_OBJ_DIR)/Release/lex.o $(BUILD_OBJ_DIR)/Profile/lex.o $(BUILD_OBJ_DIR)/Debug/lex.o: gram.tab.h
doc.dvi: doc.tex
latex doc; latex doc
-test: $(TOOLEXENAME_G) sample.gr
+test:: $(TOOLEXENAME_G) sample.gr
$(TOOLEXENAME_G) -I <sample.gr >sample.c && $(CC) $(CFLAGS) -o sample sample.c && ./sample
$(TOOLEXENAME_G) -I sample.gr >tmp && cmp tmp sample.c
$(TOOLEXENAME_G) -I <sample.gr -o tmp && cmp tmp sample.c