make/linux/makefiles/vm.make

changeset 2368
e7ad5f6f4d29
parent 2326
2968675b413e
child 2508
b92c45f2bc75
     1.1 --- a/make/linux/makefiles/vm.make	Tue Dec 14 15:10:52 2010 -0500
     1.2 +++ b/make/linux/makefiles/vm.make	Wed Dec 15 05:43:54 2010 -0800
     1.3 @@ -168,7 +168,9 @@
     1.4  
     1.5  # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
     1.6  define findsrc
     1.7 -	$(notdir $(shell find $(1) \( -name \*.c -o -name \*.cpp -o -name \*.s \) -a \! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \) ))
     1.8 +	$(notdir $(shell find $(1)/. ! -name . -prune \
     1.9 +		-a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \
    1.10 +		-a ! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \)))
    1.11  endef
    1.12  
    1.13  Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))

mercurial