ALWAYS_BUILD_AS_ARM	= 1
EXPORTLIBRARY		= /blah/EKERN/blah
TARGET			= ksrt.lib

ifeq (EKERN, $(findstring EKERN, $(EXPORTLIBRARY)))
CXXFLAGS = --arm --no_exceptions --no_exceptions_unwind
else
ifeq (KSRT, $(findstring KSRT, $(TARGET)))
CXXFLAGS = --arm --no_exceptions --no_exceptions_unwind
else
ifeq (1, $(ALWAYS_BUILD_AS_ARM))
CXXFLAGS = --arm --fpu softvfp --exceptions --exceptions_unwind
else
CXXFLAGS = --thumb --fpu softvfp --exceptions --exceptions_unwind -D__MARM_THUMB__
endif
endif
endif

$(warning $(CXXFLAGS))

all:
