26 lines
814 B
Makefile
26 lines
814 B
Makefile
lib_LTLIBRARIES = libgdtoa.la
|
|
|
|
libgdtoa_la_SOURCES = \
|
|
dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c g_ffmt.c \
|
|
g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c \
|
|
misc.c smisc.c strtoIQ.c strtoId.c strtoIdd.c strtoIf.c strtoIg.c \
|
|
strtoIx.c strtoIxL.c strtod.c strtodI.c strtodg.c strtof.c strtopQ.c \
|
|
strtopd.c strtopdd.c strtopf.c strtopx.c strtopxL.c strtorQ.c \
|
|
strtord.c strtordd.c strtorf.c strtorx.c strtorxL.c sum.c ulp.c
|
|
|
|
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
|
|
|
|
arith.h: arithchk.c
|
|
$(CC) $(CFLAGS) -o arithchk arithchk.c || \
|
|
$(CC) -DNO_LONG_LONG $(CFLAGS) -o arithchk arithchk.c
|
|
./arithchk > arith.h
|
|
|
|
gd_qnan.h: arith.h qnan.c
|
|
$(CC) $(CFLAGS) -o qnan qnan.c
|
|
./qnan >gd_qnan.h
|
|
|
|
libgdtoa_la_LDFLAGS = -release 1.0
|
|
|
|
pkginclude_HEADERS = gdtoa.h
|
|
|
|
CLEANFILES = arithchk qnan
|