Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 1 | # __________ __ ___. |
| 2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 6 | # \/ \/ \/ \/ \/ |
| 7 | # |
Thomas Martitz | f269aa0 | 2012-03-26 22:24:57 +0200 | [diff] [blame] | 8 | SKINPARSLIB_DIR = $(ROOTDIR)/lib/skin_parser |
| 9 | SKINPARSLIB_SRC = $(call preprocess, $(SKINPARSLIB_DIR)/SOURCES) |
| 10 | SKINPARSLIB_OBJ := $(call c2obj, $(SKINPARSLIB_SRC)) |
Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 11 | |
Thomas Martitz | f269aa0 | 2012-03-26 22:24:57 +0200 | [diff] [blame] | 12 | SKINPARSLIB = $(BUILDDIR)/lib/libskin_parser.a |
Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 13 | |
Thomas Martitz | f269aa0 | 2012-03-26 22:24:57 +0200 | [diff] [blame] | 14 | INCLUDES += -I$(SKINPARSLIB_DIR) |
| 15 | OTHER_SRC += $(SKINPARSLIB_SRC) |
| 16 | CORE_LIBS += $(SKINPARSLIB) |
Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 17 | |
Thomas Martitz | f269aa0 | 2012-03-26 22:24:57 +0200 | [diff] [blame] | 18 | $(SKINPARSLIB): $(SKINPARSLIB_OBJ) |
Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 19 | $(SILENT)$(shell rm -f $@) |
| 20 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |