1TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore 2 3LDFLAGS = -T$(TESTS_PATH)/link.ld 4ASFLAGS = 5 6TESTS += test_abs.tst 7TESTS += test_bmerge.tst 8TESTS += test_clz.tst 9TESTS += test_dvstep.tst 10TESTS += test_fadd.tst 11TESTS += test_fmul.tst 12TESTS += test_ftoi.tst 13TESTS += test_imask.tst 14TESTS += test_insert.tst 15TESTS += test_madd.tst 16TESTS += test_msub.tst 17TESTS += test_muls.tst 18 19QEMU_OPTS += -M tricore_testboard -nographic -kernel 20 21%.pS: $(TESTS_PATH)/%.S 22 $(HOST_CC) -E -o $@ $< 23 24%.o: %.pS 25 $(AS) $(ASFLAGS) -o $@ $< 26 27%.tst: %.o 28 $(LD) $(LDFLAGS) $< -o $@ 29