make -> mk
change %u from verb to flag.
This commit is contained in:
parent
16a7096669
commit
58611a1bbf
2 changed files with 9 additions and 9 deletions
|
|
@ -64,7 +64,7 @@ static Convfmt knownfmt[] = {
|
||||||
'p', __ifmt,
|
'p', __ifmt,
|
||||||
'r', __errfmt,
|
'r', __errfmt,
|
||||||
's', __strfmt,
|
's', __strfmt,
|
||||||
'u', __ifmt, /* in Plan 9, __flagfmt */
|
'u', __flagfmt, /* in Unix, __ifmt */
|
||||||
'x', __ifmt,
|
'x', __ifmt,
|
||||||
0, nil,
|
0, nil,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
PLAN9=../..
|
PLAN9=../..
|
||||||
include $(PLAN9)/src/Makehdr
|
<$PLAN9/src/mkhdr
|
||||||
|
|
||||||
LIB=libfmt.a
|
LIB=libfmt.a
|
||||||
|
|
||||||
|
|
@ -40,18 +40,18 @@ OFILES=\
|
||||||
vseprint.$O\
|
vseprint.$O\
|
||||||
vsmprint.$O\
|
vsmprint.$O\
|
||||||
vsnprint.$O\
|
vsnprint.$O\
|
||||||
$(NUM)\
|
$NUM\
|
||||||
$(NAN)\
|
$NAN\
|
||||||
|
|
||||||
HFILES=\
|
HFILES=\
|
||||||
fmtdef.h\
|
fmtdef.h\
|
||||||
$(PLAN9)/include/fmt.h\
|
$PLAN9/include/fmt.h\
|
||||||
|
|
||||||
include $(PLAN9)/src/Makesyslib
|
<$PLAN9/src/mksyslib
|
||||||
|
|
||||||
$(NAN).$O: nan.h
|
$NAN.$O: nan.h
|
||||||
strtod.$O: nan.h
|
strtod.$O: nan.h
|
||||||
|
|
||||||
test: $(LIB) test.$O
|
test: $LIB test.$O
|
||||||
$(CC) -o test test.$O $(LIB) -L$(PLAN9)/lib -lutf
|
$CC -o test test.$O $LIB -L$PLAN9/lib -lutf
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue