12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- include ../../../buildenv.mk
- SIM_DIR := $(CUR_DIR)/..
- CPPFLAGS += $(ADDED_INC)
- CPPFLAGS += -I$(COMMON_DIR)/inc/ \
- -I$(COMMON_DIR)/inc/internal \
- -I$(COMMON_DIR)/inc/tlibc \
- -I$(SIM_DIR)/assembly/ \
- -I$(SIM_DIR)/assembly/linux \
- -I$(SIM_DIR)/uinst/ \
- -I$(LINUX_PSW_DIR)/urts/linux \
- -I$(LINUX_SDK_DIR)/selib
- CXXFLAGS += $(ENCLAVE_CXXFLAGS) -Werror -fno-exceptions -fno-rtti
- LIBSESIMU_T := libsesimu_t.a
- OBJS := deriv.o t_instructions.o
- .PHONY:all
- all: $(LIBSESIMU_T)
- $(LIBSESIMU_T): $(OBJS)
- $(AR) rcs $@ $^
- t_instructions.o: CXXFLAGS += -O0
- .PHONY: clean
- clean:
- @$(RM) $(OBJS) $(LIBSESIMU_T)
|