Files
clang-p2996/stacker/lib/compiler/Makefile
Reid Spencer 4087017e4f Make Stacker makefiles more compliant with LLVM standards.
Fix linkage problems after libLLVMTransforms.a was removed.

llvm-svn: 33887
2007-02-04 22:25:16 +00:00

29 lines
974 B
Makefile

#===-- projects/llvm-stacker/lib/compiler/Makefile ----------*- Makefile -*-===#
#
# The LLVM Compiler Infrastructure
#
# This file was developed by Reid Spencer and is distributed under the
# University of Illinois Open Source License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
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
$(ObjDir)/StackerCompiler.o : $(PROJ_SRC_DIR)/StackerParser.h