From: John Criswell Date: Wed, 11 Jun 2003 13:57:48 +0000 (+0000) Subject: Updated to the new Makefile.common. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aff713cca56dced4a1423f6cbab666ea30e93c23;p=oota-llvm.git 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 --- diff --git a/support/tools/Burg/Makefile b/support/tools/Burg/Makefile index 0e00e32038a..34fb3464867 100644 --- a/support/tools/Burg/Makefile +++ b/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.c && $(CC) $(CFLAGS) -o sample sample.c && ./sample $(TOOLEXENAME_G) -I sample.gr >tmp && cmp tmp sample.c $(TOOLEXENAME_G) -I sample.c && $(CC) $(CFLAGS) -o sample sample.c && ./sample $(TOOLEXENAME_G) -I sample.gr >tmp && cmp tmp sample.c $(TOOLEXENAME_G) -I