Updated to the new Makefile.common.
[oota-llvm.git] / utils / Burg / Makefile
index 0e00e32038a20195237aaf61aa3fbaff0b8c06ed..34fb34648673fe9ff15cf266598d0c70394cf000 100644 (file)
@@ -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