aboutsummaryrefslogtreecommitdiff
path: root/projects/Stacker/lib/compiler/Makefile
blob: 1f2db178d422a0a524413dcb1b5234f8d534ce65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##===- projects/Stacker/lib/compiler/Makefile --------------*- Makefile -*-===##

LEVEL := ../..
LIBRARYNAME := stkr_compiler
EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
	      StackerParser.cpp.cvs StackerParser.h.cvs StackerParser.y.cvs
REQUIRES_EH := 1

include $(LEVEL)/Makefile.common

ifdef PARSE_DEBUG
INCLUDES += -DPARSE_DEBUG
endif

# Disable -pedantic for this library, as bison output isn't necessarily 
# -pedantic clean.
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))

$(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h