build: use the standard AM_V_GEN definition for output.

This actually allows for the command to be printed if using `make V=1`

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
This commit is contained in:
Diego Elio Pettenò 2012-06-29 13:01:20 -07:00 committed by Harald Welte
parent d471a21920
commit f5df9ab549
2 changed files with 2 additions and 4 deletions

View File

@ -100,5 +100,4 @@ noinst_HEADERS = osmocom/core/timer_compat.h
osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
$(AM_V_GEN)$(MKDIR_P) $(notdir $@)
@echo " SED $< -> $@"
@sed -e's/XX/$*/g' $< > $@
$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@

View File

@ -39,5 +39,4 @@ libosmocore_la_SOURCES += serial.c
endif
crc%gen.c: crcXXgen.c.tpl
@echo " SED $< -> $@"
@sed -e's/XX/$*/g' $< > $@
$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@