123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- include ../../buildenv.mk
- CFLAGS += $(ENCLAVE_CFLAGS)
- CPPFLAGS += $(ADDED_INC) \
- -I$(COMMON_DIR)/inc/tlibc/
- SRCS := $(wildcard *.c)
- OBJS := $(sort $(SRCS:.c=.o))
- TARGET := libcompiler-rt.a
- .PHONY: all
- all: $(TARGET)
- $(TARGET): $(OBJS)
- $(AR) rcsD $@ $^
- $(OBJS): %.o: %.c
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
- .PHONY: clean
- clean:
- @$(RM) $(OBJS) $(TARGET)
|