mkfile (709B)
1 LIB = libfmt.a 2 LOBJ = \ 3 dofmt.o\ 4 dorfmt.o\ 5 errfmt.o\ 6 fltfmt.o\ 7 fmt.o\ 8 fmtfd.o\ 9 fmtfdflush.o\ 10 fmtlocale.o\ 11 fmtlock.o\ 12 fmtnull.o\ 13 fmtprint.o\ 14 fmtquote.o\ 15 fmtrune.o\ 16 fmtstr.o\ 17 fmtvprint.o\ 18 fprint.o\ 19 print.o\ 20 runefmtstr.o\ 21 runeseprint.o\ 22 runesmprint.o\ 23 runesnprint.o\ 24 runesprint.o\ 25 runevseprint.o\ 26 runevsmprint.o\ 27 runevsnprint.o\ 28 seprint.o\ 29 smprint.o\ 30 snprint.o\ 31 sprint.o\ 32 strtod.o\ 33 vfprint.o\ 34 vseprint.o\ 35 vsmprint.o\ 36 vsnprint.o\ 37 charstod.o\ 38 pow10.o\ 39 nan64.o 40 41 LOCAL_CFLAGS = -I"$PREFIX"/include -I. 42 CLEAN_FILES = test test.o 43 DEPS = libutf 44 45 <$mkbuild/mk.default 46 47 test: deps $LIB test.o 48 $CC -o test test.o $LIB $CFLAGS $LDFLAGS $LOCAL_CFLAGS -L"$PREFIX"/lib -L../libutf -lutf 49