[llvm-commits] CVS: llvm/utils/Burg/Makefile

John Criswell criswell at cs.uiuc.edu
Sat Sep 6 10:21:01 PDT 2003


Changes in directory llvm/utils/Burg:

Makefile updated: 1.17 -> 1.18

---
Log message:

Checkin of autoconf-style object root.

Updated Makefile for new autoconf-style object root.


---
Diffs of the changes:

Index: llvm/utils/Burg/Makefile
diff -u llvm/utils/Burg/Makefile:1.17 llvm/utils/Burg/Makefile:1.18
--- llvm/utils/Burg/Makefile:1.17	Thu Aug 21 16:47:12 2003
+++ llvm/utils/Burg/Makefile	Sat Sep  6 10:20:15 2003
@@ -1,13 +1,15 @@
 LEVEL = ../..
 TOOLNAME = burg
-ExtraSource = gram.tab.c
+ExtraSource = $(SourceDir)/gram.tab.c
 
 include $(LEVEL)/Makefile.common
 
-gram.tab.c gram.tab.h:: gram.yc
-	$(VERB) $(BISON) -o gram.tab.c -d $<
+VPATH=$(SourceDir)
 
-lex.c: gram.tab.h
+$(SourceDir)/gram.tab.c $(SourceDir)/gram.tab.h:: gram.yc
+	$(VERB) $(BISON) -o $(SourceDir)/gram.tab.c -d $<
+
+$(SourceDir)/lex.c: $(SourceDir)/gram.tab.h
 
 clean::
 	rm -ff gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp





More information about the llvm-commits mailing list