Revision 59bc10ee rules.mak

b/rules.mak
39 39
cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \
40 40
              >/dev/null 2>&1 && echo OK), $2, $3)
41 41

  
42
set-vpath = $(if $1,$(foreach PATTERN,%.c %.h %.S, $(eval vpath $(PATTERN) $1)))
42
VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi
43
set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES), $(eval vpath $(PATTERN) $1)))
43 44

  
44 45
# Generate timestamp files for .h include files
45 46

  

Also available in: Unified diff