+tools/textfilter: tools/textfilter.c
+ make -C tools/ textfilter
+
+.s.o:
+ $(CC) $(CFLAGS) -c $< -o $@
+
+# random deps
+pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c
+cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c
+cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c
+pico/pico.o pico/cd/pico.o : pico/pico_cmn.c pico/pico_int.h
+pico/memory.o pico/cd/memory.o : pico/pico_int.h pico/memory.h
+cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h
+