File: Makefile

package info (click to toggle)
openlibm 0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,556 kB
  • ctags: 3,641
  • sloc: ansic: 19,492; asm: 1,246; pascal: 81; makefile: 72
file content (16 lines) | stat: -rw-r--r-- 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
OPENLIBM_HOME=$(abspath ..)
include ../Make.inc

all: test-double test-float # test-double-system test-float-system

test-double: test-double.c libm-test.c
	$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@

test-float: test-float.c libm-test.c
	$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@

test-double-system: test-double.c libm-test.c
	$(CC) -g $< -DSYS_MATH_H -lm -o $@

test-float-system: test-float.c libm-test.c
	$(CC) -g $< -DSYS_MATH_H -lm -o $@