summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/skin_parser/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/skin_parser/Makefile b/lib/skin_parser/Makefile
index 4026f9e9a9..cdce7bb0c4 100644
--- a/lib/skin_parser/Makefile
+++ b/lib/skin_parser/Makefile
@@ -8,6 +8,9 @@
8# 8#
9 9
10BUILDDIR ?= . 10BUILDDIR ?= .
11ifndef V
12SILENT = @
13endif
11 14
12SRC = skin_buffer.c skin_parser.c skin_debug.c skin_scan.c tag_table.c 15SRC = skin_buffer.c skin_parser.c skin_debug.c skin_scan.c tag_table.c
13OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC)) 16OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC))
@@ -19,10 +22,12 @@ INCLUDES = -I.
19default: $(OUT) 22default: $(OUT)
20 23
21$(BUILDDIR)/%.o: %.c 24$(BUILDDIR)/%.o: %.c
22 $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@ 25 @echo CC $<
26 $(SILENT)$(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@
23 27
24$(OUT): $(OBJ) 28$(OUT): $(OBJ)
25 $(AR) rcs $(OUT) $(OBJ) 29 @echo AR $(notdir $(OUT))
30 $(SILENT)$(AR) rcs $(OUT) $(OBJ)
26 31
27clean: 32clean:
28 rm -f $(OBJ) $(OUT) 33 rm -f $(OBJ) $(OUT)