[llvm-commits] CVS: llvm/test/Programs/MultiSource/Burg/Makefile

John Criswell criswell at cs.uiuc.edu
Wed Jun 11 08:56:00 PDT 2003


Changes in directory llvm/test/Programs/MultiSource/Burg:

Makefile updated: 1.3 -> 1.4

---
Log message:

Modified Makefile.common to handle compilation of projects inside and outside
of the llvm source directory.
The main modification was to add new environment variables: one set for llvm
entities and another set for source entities current being compiled.
This should make the Makefile more flexible and easier to understand as each
environment variable only does one thing.


---
Diffs of the changes:

Index: llvm/test/Programs/MultiSource/Burg/Makefile
diff -u llvm/test/Programs/MultiSource/Burg/Makefile:1.3 llvm/test/Programs/MultiSource/Burg/Makefile:1.4
--- llvm/test/Programs/MultiSource/Burg/Makefile:1.3	Sun Jun  1 21:02:01 2003
+++ llvm/test/Programs/MultiSource/Burg/Makefile	Wed Jun 11 08:55:44 2003
@@ -11,7 +11,7 @@
 
 Source  := $(ExtraSource) $(wildcard *.c)
 
-## $(BUILD_ROOT)/Depend/y.tab.d:: y.tab.c $(BUILD_ROOT)/Depend/.dir
+## $(BUILD_OBJ_ROOT)/Depend/y.tab.d:: y.tab.c $(BUILD_OBJ_ROOT)/Depend/.dir
 
 %.cpp %.h : %.y
 	yacc -d $<
@@ -28,7 +28,7 @@
 
 Source := $(patsubst gram.%,,$(Source))
 
-## $(BUILD_ROOT)/Depend/gram.d: gram.y
+## $(BUILD_OBJ_ROOT)/Depend/gram.d: gram.y
 
 src:
 	echo Sources = $(Source)





More information about the llvm-commits mailing list