Deleted Added
full compact
makefile (219557) makefile (243933)
1# /****************************************************************
2# Copyright (C) 1998 by Lucent Technologies
3# All Rights Reserved
4#
5# Permission to use, copy, modify, and distribute this software and
6# its documentation for any purpose and without fee is hereby
7# granted, provided that the above copyright notice appear in all
8# copies and that both that the copyright notice and this

--- 12 unchanged lines hidden (view full) ---

21# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22# THIS SOFTWARE.
23#
24# ****************************************************************/
25
26.SUFFIXES: .c .o
27CC = cc
28CFLAGS = -g
1# /****************************************************************
2# Copyright (C) 1998 by Lucent Technologies
3# All Rights Reserved
4#
5# Permission to use, copy, modify, and distribute this software and
6# its documentation for any purpose and without fee is hereby
7# granted, provided that the above copyright notice appear in all
8# copies and that both that the copyright notice and this

--- 12 unchanged lines hidden (view full) ---

21# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22# THIS SOFTWARE.
23#
24# ****************************************************************/
25
26.SUFFIXES: .c .o
27CC = cc
28CFLAGS = -g
29AR ?= ar
30ARFLAGS ?= ruv
29
30.c.o:
31 $(CC) -c $(CFLAGS) $*.c
32
33# invoke "make Printf" to add printf.o to gdtoa.a (if desired)
34
35all: arith.h gd_qnan.h gdtoa.a
36

--- 10 unchanged lines hidden (view full) ---

47gdtoa.a: dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c\
48 g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c\
49 hexnan.c misc.c smisc.c strtoIQ.c strtoId.c strtoIdd.c\
50 strtoIf.c strtoIg.c strtoIx.c strtoIxL.c strtod.c strtodI.c\
51 strtodg.c strtof.c strtopQ.c strtopd.c strtopdd.c strtopf.c\
52 strtopx.c strtopxL.c strtorQ.c strtord.c strtordd.c strtorf.c\
53 strtorx.c strtorxL.c sum.c ulp.c
54 $(CC) -c $(CFLAGS) $?
31
32.c.o:
33 $(CC) -c $(CFLAGS) $*.c
34
35# invoke "make Printf" to add printf.o to gdtoa.a (if desired)
36
37all: arith.h gd_qnan.h gdtoa.a
38

--- 10 unchanged lines hidden (view full) ---

49gdtoa.a: dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c\
50 g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c\
51 hexnan.c misc.c smisc.c strtoIQ.c strtoId.c strtoIdd.c\
52 strtoIf.c strtoIg.c strtoIx.c strtoIxL.c strtod.c strtodI.c\
53 strtodg.c strtof.c strtopQ.c strtopd.c strtopdd.c strtopf.c\
54 strtopx.c strtopxL.c strtorQ.c strtord.c strtordd.c strtorf.c\
55 strtorx.c strtorxL.c sum.c ulp.c
56 $(CC) -c $(CFLAGS) $?
55 x=`echo $? | sed 's/\.c/.o/g'` && ar ruv gdtoa.a $$x && rm $$x
57 x=`echo $? | sed 's/\.c/.o/g'` && $(AR) $(ARFLAGS) gdtoa.a $$x && rm $$x
56 ranlib gdtoa.a || true
57
58Printf: all printf.c
59 $(CC) -c $(CFLAGS) printf.c
58 ranlib gdtoa.a || true
59
60Printf: all printf.c
61 $(CC) -c $(CFLAGS) printf.c
60 ar ruv gdtoa.a printf.o
62 $(AR) $(ARFLAGS) gdtoa.a printf.o
61 rm printf.o
62 touch Printf
63
64# If your system lacks ranlib, you do not need it.
65
66xs0 = README arithchk.c dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c\
67 g_dfmt.c g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gdtoa.h\
68 gdtoa_fltrnds.h gdtoaimp.h gethex.c gmisc.c hd_init.c hexnan.c\

--- 17 unchanged lines hidden ---
63 rm printf.o
64 touch Printf
65
66# If your system lacks ranlib, you do not need it.
67
68xs0 = README arithchk.c dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c\
69 g_dfmt.c g_ffmt.c g_xLfmt.c g_xfmt.c gdtoa.c gdtoa.h\
70 gdtoa_fltrnds.h gdtoaimp.h gethex.c gmisc.c hd_init.c hexnan.c\

--- 17 unchanged lines hidden ---