1*be78e799SBastian KoppelmannTESTS_PATH = $(SRC_PATH)/tests/tcg/tricore 2*be78e799SBastian Koppelmann 3*be78e799SBastian KoppelmannLDFLAGS = -T$(TESTS_PATH)/link.ld 4*be78e799SBastian KoppelmannASFLAGS = 5*be78e799SBastian Koppelmann 6*be78e799SBastian KoppelmannQEMU_OPTS += -M tricore_testboard -nographic -kernel 7*be78e799SBastian Koppelmann 8*be78e799SBastian Koppelmann%.pS: $(TESTS_PATH)/%.S 9*be78e799SBastian Koppelmann $(HOST_CC) -E -o $@ $< 10*be78e799SBastian Koppelmann 11*be78e799SBastian Koppelmann%.o: %.pS 12*be78e799SBastian Koppelmann $(AS) $(ASFLAGS) -o $@ $< 13*be78e799SBastian Koppelmann 14*be78e799SBastian Koppelmann%.tst: %.o 15*be78e799SBastian Koppelmann $(LD) $(LDFLAGS) $< -o $@ 16