diff options
-rw-r--r-- | lib/skin_parser/Makefile | 9 |
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 | ||
10 | BUILDDIR ?= . | 10 | BUILDDIR ?= . |
11 | ifndef V | ||
12 | SILENT = @ | ||
13 | endif | ||
11 | 14 | ||
12 | SRC = skin_buffer.c skin_parser.c skin_debug.c skin_scan.c tag_table.c | 15 | SRC = skin_buffer.c skin_parser.c skin_debug.c skin_scan.c tag_table.c |
13 | OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC)) | 16 | OBJ := $(patsubst %.c,$(BUILDDIR)/%.o,$(SRC)) |
@@ -19,10 +22,12 @@ INCLUDES = -I. | |||
19 | default: $(OUT) | 22 | default: $(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 | ||
27 | clean: | 32 | clean: |
28 | rm -f $(OBJ) $(OUT) | 33 | rm -f $(OBJ) $(OUT) |