summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/skin_parser.make
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2010-06-17 11:04:32 +0000
committerBjörn Stenberg <bjorn@haxx.se>2010-06-17 11:04:32 +0000
commitf1a144a07772d5683d9e117c4639ad75235fd1bc (patch)
treea800b4b0133710df9c751c3f81df00fb71422388 /lib/skin_parser/skin_parser.make
parentdb658d98401d23957c8fe88b4bd96ab184f0ffef (diff)
downloadrockbox-f1a144a07772d5683d9e117c4639ad75235fd1bc.tar.gz
rockbox-f1a144a07772d5683d9e117c4639ad75235fd1bc.tar.bz2
rockbox-f1a144a07772d5683d9e117c4639ad75235fd1bc.zip
Added skin_parser library to build system. Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26884 a1c6a512-1295-4272-9138-f99709370657
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