Revision 9d8e9c09 tests/Makefile
b/tests/Makefile | ||
---|---|---|
13 | 13 |
$(CC) -nostdlib $(CFLAGS) -static $(LDFLAGS) -o $@ $< |
14 | 14 |
|
15 | 15 |
test1: test1.c |
16 |
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< |
|
16 |
$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $<
|
|
17 | 17 |
|
18 | 18 |
test2: test2.c |
19 | 19 |
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< |
20 | 20 |
|
21 | 21 |
# i386 emulation test (dump various opcodes) */ |
22 | 22 |
test-i386: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h |
23 |
$(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ $< |
|
23 |
$(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ $< -lm
|
|
24 | 24 |
|
25 | 25 |
test: test-i386 |
26 | 26 |
./test-i386 > test-i386.ref |
Also available in: Unified diff