summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/skin_parser.make
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skin_parser/skin_parser.make')
-rw-r--r--lib/skin_parser/skin_parser.make20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/skin_parser/skin_parser.make b/lib/skin_parser/skin_parser.make
new file mode 100644
index 0000000000..c73fc6ef00
--- /dev/null
+++ b/lib/skin_parser/skin_parser.make
@@ -0,0 +1,20 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+#
+SKINP_DIR = $(ROOTDIR)/lib/skin_parser
+SKINP_SRC = $(call preprocess, $(SKINP_DIR)/SOURCES)
+SKINP_OBJ := $(call c2obj, $(SKINP_SRC))
+
+OTHER_SRC += $(SKINP_SRC)
+
+SKINLIB = $(BUILDDIR)/libskin_parser.a
+
+INCLUDES += -I$(SKINP_DIR)
+
+$(SKINLIB): $(SKINP_OBJ)
+ $(SILENT)$(shell rm -f $@)
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null