blob: 42104a2822c87aa2f7b95ca9bfbfb62f8989e2f9 [file] [log] [blame]
Björn Stenbergf1a144a2010-06-17 11:04:32 +00001# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7#
Thomas Martitzf269aa02012-03-26 22:24:57 +02008SKINPARSLIB_DIR = $(ROOTDIR)/lib/skin_parser
9SKINPARSLIB_SRC = $(call preprocess, $(SKINPARSLIB_DIR)/SOURCES)
10SKINPARSLIB_OBJ := $(call c2obj, $(SKINPARSLIB_SRC))
Björn Stenbergf1a144a2010-06-17 11:04:32 +000011
Thomas Martitzf269aa02012-03-26 22:24:57 +020012SKINPARSLIB = $(BUILDDIR)/lib/libskin_parser.a
Björn Stenbergf1a144a2010-06-17 11:04:32 +000013
Thomas Martitzf269aa02012-03-26 22:24:57 +020014INCLUDES += -I$(SKINPARSLIB_DIR)
15OTHER_SRC += $(SKINPARSLIB_SRC)
16CORE_LIBS += $(SKINPARSLIB)
Björn Stenbergf1a144a2010-06-17 11:04:32 +000017
Thomas Martitzf269aa02012-03-26 22:24:57 +020018$(SKINPARSLIB): $(SKINPARSLIB_OBJ)
Björn Stenbergf1a144a2010-06-17 11:04:32 +000019 $(SILENT)$(shell rm -f $@)
20 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null