The echo lines where a light alternative to the long compiler options
lines, so there is no real benefit on showing the 'echo' itself.
$(RM) vimb *.o scripts/scripts.h
vimb: $(OBJ)
- $(Q)echo "${CC} $@"
+ @echo "${CC} $@"
$(Q)$(CC) $(OBJ) $(LDFLAGS) -o $@
$(OBJ): config.h $(BASEDIR)/config.mk scripts/scripts.h
-include $(OBJ:.o=.d)
config.h:
- $(Q)echo create $@ from config.def.h
+ @echo create $@ from config.def.h
$(Q)cp config.def.h $@
scripts/scripts.h: $(JSFILES)
$(Q)$(RM) $@
- $(Q)echo "create $@ from *.js"
+ @echo "create $@ from *.js"
$(Q)for file in $(JSFILES); do \
./scripts/js2h.sh $$file >> $@; \
done
%.o: %.c
- $(Q)echo "${CC} $@"
+ @echo "${CC} $@"
$(Q)$(CC) $(CFLAGS) -c -o $@ $<
%.subdir-all: config.h
$(RM) $(EXTTARGET) *.lo
$(EXTTARGET): $(OBJ)
- $(Q)echo "$(CC) $@"
+ @echo "$(CC) $@"
$(Q)$(CC) $(OBJ) $(EXTLDFLAGS) -o $@
%.lo: %.c
- $(Q)echo "${CC} $@"
+ @echo "${CC} $@"
$(Q)$(CC) $(EXTCFLAGS) -fPIC -c -o $@ $<
.PHONY: all clean