Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 1 | # __________ __ ___. |
| 2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 6 | # \/ \/ \/ \/ \/ |
| 7 | # |
| 8 | SKINP_DIR = $(ROOTDIR)/lib/skin_parser |
| 9 | SKINP_SRC = $(call preprocess, $(SKINP_DIR)/SOURCES) |
| 10 | SKINP_OBJ := $(call c2obj, $(SKINP_SRC)) |
| 11 | |
| 12 | OTHER_SRC += $(SKINP_SRC) |
| 13 | |
Björn Stenberg | 936e673 | 2010-06-24 11:47:37 +0000 | [diff] [blame] | 14 | SKINLIB = $(BUILDDIR)/lib/libskin_parser.a |
Björn Stenberg | f1a144a | 2010-06-17 11:04:32 +0000 | [diff] [blame] | 15 | |
| 16 | INCLUDES += -I$(SKINP_DIR) |
| 17 | |
| 18 | $(SKINLIB): $(SKINP_OBJ) |
| 19 | $(SILENT)$(shell rm -f $@) |
| 20 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |