123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- include ../../buildenv.mk
- CPPFLAGS += -I$(COMMON_DIR)/inc \
- -I$(COMMON_DIR)/inc/tlibc \
- -I./stlport
- CXXFLAGS += $(ENCLAVE_CXXFLAGS)
- SRCS := src/string.cpp \
- src/complex.cpp \
- src/complex_trig.cpp
- OBJS := $(SRCS:.cpp=.o)
- LIBNAME_AR = libtlibstdcxx.a
- .PHONY:all
- all: $(LIBNAME_AR)
- $(LIBNAME_AR): $(OBJS)
- $(AR) rcs $(LIBNAME_AR) $^
- $(OBJS): %.o: %.cpp
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
- .PHONY: clean
- clean:
- @$(RM) $(LIBNAME_AR) $(OBJS)
|