diff options
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) | ||