From 8c2c3152d64aafe24b5b67cd7d670658eb65df18 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 22 Oct 2004 21:02:08 +0000 Subject: Adjust to changes in Makefile.rules git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17167 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Makefile | 2 +- projects/Stacker/lib/compiler/Makefile | 2 ++ projects/sample/tools/sample/Makefile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'projects') diff --git a/projects/Makefile b/projects/Makefile index 1e89f6d..ddb9323 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -10,7 +10,7 @@ LEVEL=.. include $(LEVEL)/Makefile.config -DIRS:= $(filter-out llvm-test,$(patsubst $(SourceDir)/%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))) +DIRS:= $(filter-out llvm-test,$(patsubst $(BUILD_SRC_DIR)/%/Makefile,%,$(wildcard $(BUILD_SRC_DIR)/*/Makefile))) # Sparc cannot link shared libraries (libtool problem?) which Stacker uses ifeq ($(ARCH), Sparc) diff --git a/projects/Stacker/lib/compiler/Makefile b/projects/Stacker/lib/compiler/Makefile index 67c9e13..1b76705 100644 --- a/projects/Stacker/lib/compiler/Makefile +++ b/projects/Stacker/lib/compiler/Makefile @@ -18,3 +18,5 @@ include $(LEVEL)/Makefile.common ifdef PARSE_DEBUG INCLUDES += -DPARSE_DEBUG endif + +$(OBJDIR)/Lexer.o : StackerParser.h diff --git a/projects/sample/tools/sample/Makefile b/projects/sample/tools/sample/Makefile index 17ea11a..1127f75 100644 --- a/projects/sample/tools/sample/Makefile +++ b/projects/sample/tools/sample/Makefile @@ -14,7 +14,7 @@ TOOLNAME=sample # List libraries that we'll need # We use LIBS because sample is a dynamic library. # -LIBS+=-lsample +USEDLIBS = sample # # Include Makefile.common so we know what to do. -- cgit v1.1