summaryrefslogtreecommitdiffstats
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
commitbe087cf11d7acf955a543e0bcfd8c60d5b8f36db (patch)
tree742ef9e7110b18ca9ee6d7b10a2c019d4e65d7e5
parente1c78240c24f9cdacc2e8f096eaf3c7f4bf1808d (diff)
downloadbcm5719-llvm-be087cf11d7acf955a543e0bcfd8c60d5b8f36db.tar.gz
bcm5719-llvm-be087cf11d7acf955a543e0bcfd8c60d5b8f36db.zip
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?). llvm-svn: 6681
-rw-r--r--llvm/support/tools/Burg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/support/tools/Burg/Makefile b/llvm/support/tools/Burg/Makefile
index 0e00e32038a..34fb3464867 100644
--- a/llvm/support/tools/Burg/Makefile
+++ b/llvm/support/tools/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
OpenPOWER on IntegriCloud