processor_objects := processor_objects += $(if $(findstring arm,$(processors)),processor-arm) processor_objects += $(if $(findstring gsu,$(processors)),processor-gsu) processor_objects += $(if $(findstring hg51b,$(processors)),processor-hg51b) processor_objects += $(if $(findstring lr35902,$(processors)),processor-lr35902) processor_objects += $(if $(findstring r6502,$(processors)),processor-r6502) processor_objects += $(if $(findstring r65816,$(processors)),processor-r65816) processor_objects += $(if $(findstring spc700,$(processors)),processor-spc700) processor_objects += $(if $(findstring upd96050,$(processors)),processor-upd96050) processor_objects += $(if $(findstring v30mz,$(processors)),processor-v30mz) objects += $(processor_objects) processor := processor obj/processor-arm.o: $(processor)/arm/arm.cpp $(call rwildcard,$(processor)/arm) obj/processor-gsu.o: $(processor)/gsu/gsu.cpp $(call rwildcard,$(processor)/gsu) obj/processor-hg51b.o: $(processor)/hg51b/hg51b.cpp $(call rwildcard,$(processor)/hg51b) obj/processor-lr35902.o: $(processor)/lr35902/lr35902.cpp $(call rwildcard,$(processor)/lr35902) obj/processor-r6502.o: $(processor)/r6502/r6502.cpp $(call rwildcard,$(processor)/r6502) obj/processor-r65816.o: $(processor)/r65816/r65816.cpp $(call rwildcard,$(processor)/r65816) obj/processor-spc700.o: $(processor)/spc700/spc700.cpp $(call rwildcard,$(processor)/spc700) obj/processor-upd96050.o: $(processor)/upd96050/upd96050.cpp $(call rwildcard,$(processor)/upd96050) obj/processor-v30mz.o: $(processor)/v30mz/v30mz.cpp $(call rwildcard,$(processor)/v30mz)