summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-06 07:05:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-06 07:05:12 +0000
commit678090a2e7e694fa72fb9a4d4c7532e2699e2880 (patch)
treef60778f49cc620ab64b8cd4e9abdafa6f10eafe4 /apps/plugins/lib/Makefile
parent0dfc2c9dcd07adfc874e297e549d146035fc0292 (diff)
downloadrockbox-678090a2e7e694fa72fb9a4d4c7532e2699e2880.zip
rockbox-678090a2e7e694fa72fb9a4d4c7532e2699e2880.tar.gz
rockbox-678090a2e7e694fa72fb9a4d4c7532e2699e2880.tar.bz2
rockbox-678090a2e7e694fa72fb9a4d4c7532e2699e2880.tar.xz
rombox support: building and zip
general makefile: less output git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5043 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/Makefile')
-rw-r--r--apps/plugins/lib/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile
index 929ee98..7ff79b5 100644
--- a/apps/plugins/lib/Makefile
+++ b/apps/plugins/lib/Makefile
@@ -62,25 +62,28 @@ no_configure:
endif
all: $(OUTPUT)
+ @echo "lib done"
$(OUTPUT): $(OBJS)
- $(AR) ruv $@ $+
+ @echo "AR $@"
+ @$(AR) ruv $@ $+ >/dev/null
$(OBJDIR)/%.o: %.c
@mkdir -p `dirname $@`
- $(CC) $(CFLAGS) -c $< -o $@
+ @echo "CC $<"
+ @$(CC) $(CFLAGS) -c $< -o $@
tags:
@$(SHELL) -c 'for d in $(DIRS); do { etags -o $(OBJDIR)/TAGS -a $$d/*.[ch]; }; done'
clean:
- rm -f $(OBJS) $(OUTPUT)
- rm -rf $(OBJDIR)/$(DEPS)
+ @echo "cleaning lib"
+ @rm -f $(OBJS) $(OUTPUT)
+ @rm -rf $(OBJDIR)/$(DEPS)
$(OBJDIR)/$(DEPS)/%.d: %.c
@$(SHELL) -c 'for d in $(DEPDIRS); do { if [ ! -d $(OBJDIR)/$$d ]; then mkdir $(OBJDIR)/$$d; fi; }; done'
- @echo "Updating dependencies for $<"
- @$(SHELL) -ec '$(CC) -MM $(CFLAGS) $< \
+ @$(SHELL) -ec '$(CC) -MM $(CFLAGS) $< 2>/dev/null \
|sed '\''s|\($*\)\.o[ :]*|$(OBJDIR)/\1.o $(<:%.c=%.d) : |g'\'' > $@; \
[ -s $@ ] || rm -f $@'