+all: $(addprefix $(DSTROOT)/, $(TARGETS))
+
+$(DSTROOT)/MPMMtest: MPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_32_FLAGS} -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
+
+$(DSTROOT)/MPMMtest_64: MPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_64_FLAGS} -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
+
+$(DSTROOT)/KQMPMMtest: KQMPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_32_FLAGS} -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
+
+$(DSTROOT)/KQMPMMtest_64: KQMPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_64_FLAGS} -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
+
+$(DSTROOT)/KQMPMMtestD: KQMPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_32_FLAGS} -DDIRECT_MSG_RCV=1 -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi
+
+$(DSTROOT)/KQMPMMtest_64D: KQMPMMtest.c
+ ${CC} ${CFLAGS} ${ARCH_64_FLAGS} -DDIRECT_MSG_RCV=1 -o $(SYMROOT)/$(notdir $@) $?
+ if [ ! -e $@ ]; then ditto $(SYMROOT)/$(notdir $@) $@; fi