12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- include ../../buildenv.mk
- CFLAGS += -Werror -D_GNU_SOURCE -fPIC
- CFLAGS += $(ADDED_INC)
- CPPFLAGS := -I$(COMMON_DIR)/inc/ \
- -I$(COMMON_DIR)/inc/internal
- OBJS := se_memory.o \
- se_thread.o \
- se_trace.o \
- se_event.o \
- se_rwlock.o \
- se_time.o \
- se_map.o
- LIBWRAPPER := libwrapper.a
- .PHONY: clean all
- all: $(LIBWRAPPER)
- $(LIBWRAPPER): $(OBJS)
- $(AR) rcs $@ $^
- $(OBJS): %.o: $(COMMON_DIR)/src/%.c
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
- .PHONY: clean
- clean:
- @$(RM) $(LIBWRAPPER) $(OBJS)
|