summaryrefslogtreecommitdiff
path: root/projects/Stacker/lib/compiler/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-08-27 18:50:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-08-27 18:50:39 +0000
commit68a24bdba4e19cb09dada5039a46e7ec41e848e8 (patch)
tree6e36d49d91d60f06d995ec5a96330c7ba802daa3 /projects/Stacker/lib/compiler/Makefile
parent88b9c159120703555a30314411af26f425597d90 (diff)
downloadllvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.gz
llvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.bz2
llvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.xz
Implement PR614:
These changes modify the makefiles so that the output of flex and bison are placed in the SRC directory, not the OBJ directory. It is intended that they be checked in as any other LLVM source so that platforms without convenient access to flex/bison can be compiled. From now on, if you change a .y or .l file you *must* also commit the generated .cpp and .h files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/lib/compiler/Makefile')
-rw-r--r--projects/Stacker/lib/compiler/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/projects/Stacker/lib/compiler/Makefile b/projects/Stacker/lib/compiler/Makefile
index f0fec438b6..b837afb27a 100644
--- a/projects/Stacker/lib/compiler/Makefile
+++ b/projects/Stacker/lib/compiler/Makefile
@@ -2,7 +2,6 @@
LEVEL := ../..
LIBRARYNAME := stkr_compiler
-BUILT_SOURCES := StackerParser.cpp StackerParser.h Lexer.cpp
include $(LEVEL)/Makefile.common
@@ -10,4 +9,4 @@ ifdef PARSE_DEBUG
INCLUDES += -DPARSE_DEBUG
endif
-$(OBJDIR)/Lexer.o : StackerParser.h
+$(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h