# # Rules for building library # # ---------------------------------------------------------------------------- # common rules # ---------------------------------------------------------------------------- ROOT_PATH := ../.. include $(ROOT_PATH)/gcc.mk ifeq ($(CONFIG_WLAN), y) # ---------------------------------------------------------------------------- # library and objects # ---------------------------------------------------------------------------- LIBS := libmbuf.a DIRS := . ./mbuf SRCS := $(sort $(basename $(foreach dir,$(DIRS),$(wildcard $(dir)/*.[csS])))) OBJS := $(addsuffix .o,$(SRCS)) # library make rules include $(LIB_MAKE_RULES) endif