Alex Bennée | 3a082ec | 2018-04-17 11:14:37 +0100 | [diff] [blame] | 1 | # -*- Mode: makefile -*- |
2 | # | ||||
3 | # x86_64 tests - included from tests/tcg/Makefile.target | ||||
4 | # | ||||
5 | # Currently we only build test-x86_64 and test-i386-ssse3 from | ||||
6 | # $(SRC)/tests/tcg/i386/ | ||||
7 | # | ||||
8 | |||||
9 | X86_64_TESTS=$(filter-out $(I386_ONLY_TESTS), $(TESTS)) | ||||
10 | X86_64_TESTS+=test-x86_64 | ||||
11 | TESTS:=$(X86_64_TESTS) | ||||
12 | |||||
13 | test-x86_64: LDFLAGS+=-lm -lc | ||||
14 | test-x86_64: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h | ||||
15 | $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) |