[llvm-commits] CVS: llvm/utils/Burg/Makefile
John Criswell
criswell at cs.uiuc.edu
Wed Jun 11 08:58:02 PDT 2003
Changes in directory llvm/utils/Burg:
Makefile updated: 1.12 -> 1.13
---
Log message:
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?).
---
Diffs of the changes:
Index: llvm/utils/Burg/Makefile
diff -u llvm/utils/Burg/Makefile:1.12 llvm/utils/Burg/Makefile:1.13
--- llvm/utils/Burg/Makefile:1.12 Thu Oct 31 21:16:45 2002
+++ llvm/utils/Burg/Makefile Wed Jun 11 08:57:48 2003
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.12 2002/11/01 03:16:45 lattner Exp $
+# $Id: Makefile,v 1.13 2003/06/11 13:57:48 criswell Exp $
LEVEL = ../..
TOOLNAME = burg
EXTRASOURCES = gram.tab.c
@@ -13,13 +13,13 @@
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
More information about the llvm-commits
mailing list