1f2db178d422a0a524413dcb1b5234f8d534ce65
[oota-llvm.git] / projects / Stacker / lib / compiler / Makefile
1 ##===- projects/Stacker/lib/compiler/Makefile --------------*- Makefile -*-===##
2
3 LEVEL := ../..
4 LIBRARYNAME := stkr_compiler
5 EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
6               StackerParser.cpp.cvs StackerParser.h.cvs StackerParser.y.cvs
7 REQUIRES_EH := 1
8
9 include $(LEVEL)/Makefile.common
10
11 ifdef PARSE_DEBUG
12 INCLUDES += -DPARSE_DEBUG
13 endif
14
15 # Disable -pedantic for this library, as bison output isn't necessarily 
16 # -pedantic clean.
17 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
18 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
19
20 $(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h