diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-17 06:52:02 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-17 06:52:02 +0000 |
commit | 36b934d241d2560be6693f90c9aba501a1ec0ae7 (patch) | |
tree | 39b57aa3bc373a967e4d1f7d29671226307294c8 /lib/skin_parser/Makefile | |
parent | ca564287ee3f48945d45c7d92be7a83452f53745 (diff) | |
download | rockbox-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/Makefile | 28 |
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 | |||
10 | BUILDDIR ?= . | ||
11 | |||
12 | SRC = skin_parser.c skin_debug.c skin_scan.c tag_table.c | ||
13 | OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC)) | ||
14 | OUT = $(BUILDDIR)/libskin_parser.a | ||
15 | CC = gcc | ||
16 | AR = ar | ||
17 | INCLUDES = -I. | ||
18 | |||
19 | default: $(OUT) | ||
20 | |||
21 | $(BUILDDIR)/%.o: %.c | ||
22 | $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@ | ||
23 | |||
24 | $(OUT): $(OBJ) | ||
25 | $(AR) rcs $(OUT) $(OBJ) | ||
26 | |||
27 | clean: | ||
28 | rm -f $(OBJ) $(OUT) | ||