blob: 52f2af48526e11eba9ea45b3034e23f14a7e586c [file] [log] [blame]
LEVEL = ../..
LIBRARYNAME=sc_dbg_rt
BYTECODE_LIBRARY=1
#
# Build shared libraries on all platforms except Cygwin and MingW (which do
# not support them).
#
ifneq ($(OS),Cygwin)
ifneq ($(OS),MingW)
SHARED_LIBRARY=1
endif
endif
ifeq ($(OS),Linux)
CXX.Flags += -march=native
else
CXX.Flags += -march=nocona
endif
CXX.Flags += -fno-threadsafe-statics
include $(LEVEL)/Makefile.common
# Always build optimized and debug versions
all:: $(LIBNAME_OBJO) $(LIBNAME_OBJG)