Revision 93bff1de common.mak

View differences:

common.mak
24 24
BRIEF  = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
25 25
SILENT = DEPCC YASMDEP RM
26 26
MSG    = $@
27
G      = @$(call ECHO,GEN,$@);
28 27
M      = @$(call ECHO,$(MSG),$@);
29 28
$(foreach VAR,$(BRIEF), \
30 29
    $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
......
53 52
%.ver: %.v
54 53
	$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
55 54

  
55
%.c %.h: MSG = GEN
56

  
56 57
SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
57 58
ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES))
58 59
$(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
59 60
endif
60 61

  
61 62
$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh config.mak
62
	$(G)$< $(SRC_PATH) $@ $(EXTRA_VERSION)
63
	$(M)$< $(SRC_PATH) $@ $(EXTRA_VERSION)
63 64

  
64 65
install: install-libs install-headers
65 66
install-libs: install-libs-yes

Also available in: Unified diff