# This is similar to Makefile.fasm, look there for comments.
define copy_meta_rule
$(1): $(2) ../common/Makefile.copy $$(call respace,$$(addsuffix .dir,$(3)))
cp $$< "$$@"
endef
$(foreach f,$(COPY_FILES),$(eval $(call copy_meta_rule,$(fbinary),$(fsource),$(binarydir))))