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