2010-06-17 11:04:32 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
#
|
2012-03-26 20:24:57 +00:00
|
|
|
SKINPARSLIB_DIR = $(ROOTDIR)/lib/skin_parser
|
|
|
|
SKINPARSLIB_SRC = $(call preprocess, $(SKINPARSLIB_DIR)/SOURCES)
|
|
|
|
SKINPARSLIB_OBJ := $(call c2obj, $(SKINPARSLIB_SRC))
|
2010-06-17 11:04:32 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
SKINPARSLIB = $(BUILDDIR)/lib/libskin_parser.a
|
2010-06-17 11:04:32 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
INCLUDES += -I$(SKINPARSLIB_DIR)
|
|
|
|
OTHER_SRC += $(SKINPARSLIB_SRC)
|
|
|
|
CORE_LIBS += $(SKINPARSLIB)
|
2010-06-17 11:04:32 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
$(SKINPARSLIB): $(SKINPARSLIB_OBJ)
|
2010-06-17 11:04:32 +00:00
|
|
|
$(SILENT)$(shell rm -f $@)
|
|
|
|
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|