processors := $(call unique,$(processors)) objects += $(if $(findstring arm,$(processors)),processor-arm) objects += $(if $(findstring gsu,$(processors)),processor-gsu) objects += $(if $(findstring hg51b,$(processors)),processor-hg51b) objects += $(if $(findstring lr35902,$(processors)),processor-lr35902) objects += $(if $(findstring m68k,$(processors)),processor-m68k) objects += $(if $(findstring r6502,$(processors)),processor-r6502) objects += $(if $(findstring r65816,$(processors)),processor-r65816) objects += $(if $(findstring spc700,$(processors)),processor-spc700) objects += $(if $(findstring upd96050,$(processors)),processor-upd96050) objects += $(if $(findstring v30mz,$(processors)),processor-v30mz) objects += $(if $(findstring z80,$(processors)),processor-z80) 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-m68k.o: processor/m68k/m68k.cpp $(call rwildcard,processor/m68k) 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) obj/processor-z80.o: processor/z80/z80.cpp $(call rwildcard,processor/z80)