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_madd.tst 14TESTS += test_msub.tst 15TESTS += test_muls.tst 16 17QEMU_OPTS += -M tricore_testboard -nographic -kernel 18 19%.pS: $(TESTS_PATH)/%.S 20 $(HOST_CC) -E -o $@ $< 21 22%.o: %.pS 23 $(AS) $(ASFLAGS) -o $@ $< 24 25%.tst: %.o 26 $(LD) $(LDFLAGS) $< -o $@ 27