Blob
1 PLAN9=../..2 include $(PLAN9)/src/Makehdr4 LIB=libfmt.a6 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 print.$O\26 runefmtstr.$O\27 runeseprint.$O\28 runesmprint.$O\29 runesnprint.$O\30 runesprint.$O\31 runevseprint.$O\32 runevsmprint.$O\33 runevsnprint.$O\34 seprint.$O\35 smprint.$O\36 snprint.$O\37 sprint.$O\38 strtod.$O\39 vfprint.$O\40 vseprint.$O\41 vsmprint.$O\42 vsnprint.$O\43 $(NUM)\44 $(NAN)\46 HFILES=\47 fmtdef.h\48 $(PLAN9)/include/fmt.h\50 include $(PLAN9)/src/Makesyslib52 $(NAN).$O: nan.h53 strtod.$O: nan.h55 test: $(LIB) test.$O56 $(CC) -o test test.$O $(LIB) -L$(PLAN9)/lib -lutf