summaryrefslogtreecommitdiff
path: root/lib/skin_parser/Makefile
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-17 06:52:02 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-17 06:52:02 +0000
commit36b934d241d2560be6693f90c9aba501a1ec0ae7 (patch)
tree39b57aa3bc373a967e4d1f7d29671226307294c8 /lib/skin_parser/Makefile
parentca564287ee3f48945d45c7d92be7a83452f53745 (diff)
downloadrockbox-36b934d241d2560be6693f90c9aba501a1ec0ae7.tar.gz
rockbox-36b934d241d2560be6693f90c9aba501a1ec0ae7.zip
Move the skin parser to a seperate library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26877 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser/Makefile')
-rw-r--r--lib/skin_parser/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/skin_parser/Makefile b/lib/skin_parser/Makefile
new file mode 100644
index 0000000000..5c1be67578
--- /dev/null
+++ b/lib/skin_parser/Makefile
@@ -0,0 +1,28 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9
10BUILDDIR ?= .
11
12SRC = skin_parser.c skin_debug.c skin_scan.c tag_table.c
13OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC))
14OUT = $(BUILDDIR)/libskin_parser.a
15CC = gcc
16AR = ar
17INCLUDES = -I.
18
19default: $(OUT)
20
21$(BUILDDIR)/%.o: %.c
22 $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@
23
24$(OUT): $(OBJ)
25 $(AR) rcs $(OUT) $(OBJ)
26
27clean:
28 rm -f $(OBJ) $(OUT)