Blob


1 PLAN9=../..
2 <$PLAN9/src/mkhdr
4 LIB=libfmt.a
6 NUM=\
7 charstod.$O\
8 pow10.$O\
10 # Could add errfmt, but we want to pick it up from lib9 instead.
11 OFILES=\
12 dofmt.$O\
13 errfmt.$O\
14 fltfmt.$O\
15 fmt.$O\
16 fmtfd.$O\
17 fmtfdflush.$O\
18 fmtlock.$O\
19 fmtprint.$O\
20 fmtquote.$O\
21 fmtrune.$O\
22 fmtstr.$O\
23 fmtvprint.$O\
24 fprint.$O\
25 nan64.$O\
26 print.$O\
27 runefmtstr.$O\
28 runeseprint.$O\
29 runesmprint.$O\
30 runesnprint.$O\
31 runesprint.$O\
32 runevseprint.$O\
33 runevsmprint.$O\
34 runevsnprint.$O\
35 seprint.$O\
36 smprint.$O\
37 snprint.$O\
38 sprint.$O\
39 strtod.$O\
40 vfprint.$O\
41 vseprint.$O\
42 vsmprint.$O\
43 vsnprint.$O\
44 $NUM\
46 HFILES=\
47 fmtdef.h\
48 $PLAN9/include/fmt.h\
50 <$PLAN9/src/mksyslib
52 $NAN.$O: nan.h
53 strtod.$O: nan.h
55 test: $LIB test.$O
56 $CC -o test test.$O $LIB -L$PLAN9/lib -lutf