mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-07-08 05:17:38 +02:00
Use CFLAGS to build self-tests
This commit is contained in:
parent
2b7040952e
commit
f5b2148a22
1 changed files with 4 additions and 4 deletions
|
@ -4,13 +4,13 @@ include ../Make.inc
|
||||||
all: test-double test-float # test-double-system test-float-system
|
all: test-double test-float # test-double-system test-float-system
|
||||||
|
|
||||||
test-double: test-double.c libm-test.c
|
test-double: test-double.c libm-test.c
|
||||||
$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
$(CC) $(CFLAGS) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
||||||
|
|
||||||
test-float: test-float.c libm-test.c
|
test-float: test-float.c libm-test.c
|
||||||
$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
$(CC) $(CFLAGS) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
||||||
|
|
||||||
test-double-system: test-double.c libm-test.c
|
test-double-system: test-double.c libm-test.c
|
||||||
$(CC) -g $< -DSYS_MATH_H -lm -o $@
|
$(CC) $(CFLAGS) -g $< -DSYS_MATH_H -lm -o $@
|
||||||
|
|
||||||
test-float-system: test-float.c libm-test.c
|
test-float-system: test-float.c libm-test.c
|
||||||
$(CC) -g $< -DSYS_MATH_H -lm -o $@
|
$(CC) $(CFLAGS) -g $< -DSYS_MATH_H -lm -o $@
|
||||||
|
|
Loading…
Add table
Reference in a new issue