Mercurial > hg > truffle
comparison make/linux/makefiles/vm.make @ 2069:c19157304e08
Merge
author | zgu |
---|---|
date | Wed, 22 Dec 2010 11:52:12 -0500 |
parents | e7ad5f6f4d29 |
children | 06f017f7daa7 b92c45f2bc75 |
comparison
equal
deleted
inserted
replaced
2068:1e637defdda6 | 2069:c19157304e08 |
---|---|
166 Src_Files_EXCLUDE += \*x86_32\* | 166 Src_Files_EXCLUDE += \*x86_32\* |
167 endif | 167 endif |
168 | 168 |
169 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE. | 169 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE. |
170 define findsrc | 170 define findsrc |
171 $(notdir $(shell find $(1) \( -name \*.c -o -name \*.cpp -o -name \*.s \) -a \! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \) )) | 171 $(notdir $(shell find $(1)/. ! -name . -prune \ |
172 -a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \ | |
173 -a ! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \))) | |
172 endef | 174 endef |
173 | 175 |
174 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e))) | 176 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e))) |
175 | 177 |
176 Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files)))) | 178 Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files)))) |