summaryrefslogtreecommitdiff
path: root/extras/ata_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/ata_id')
-rw-r--r--extras/ata_id/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/extras/ata_id/Makefile b/extras/ata_id/Makefile
index 0a881fb194..9049a35787 100644
--- a/extras/ata_id/Makefile
+++ b/extras/ata_id/Makefile
@@ -30,21 +30,26 @@ all: $(PROG) $(MAN_PAGES)
.DEFAULT: all
%.o: %.c $(GEN_HEADERS)
- $(QUIET) $(CC) -c $(CFLAGS) $< -o $@
+ $(E) " CC " $@
+ $(Q) $(CC) -c $(CFLAGS) $< -o $@
$(PROG): %: $(HEADERS) %.o $(OBJS)
- $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(STRIPCMD),)
- $(QUIET) $(STRIPCMD) $@
+ $(E) " LD " $@
+ $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
+ $(E) " STRIP " $@
+ $(Q) $(STRIPCMD) $@
endif
# man pages
%.8: %.xml
- xmlto man $?
+ $(E) " XMLTO " $@
+ $(Q) xmlto man $?
.PRECIOUS: %.8
clean:
- rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
+ $(E) " CLEAN "
+ $(Q) rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
.PHONY: clean
install-bin: all