shithub: tlsclient

ref: e9b045956ac6aa241777d15e52d87c87dd7c6d80
dir: /libc/Makefile/

View raw version
ROOT=..
include ../Make.config
LIB=libc.a

OFILES=\
	u16.$O\
	mallocz.$O\
	u32.$O\
	u64.$O\
	genrandom.$O\
	sysfatal.$O\
	fmt.$O\
	fmtfd.$O\
	fmtfdflush.$O\
	fmtlock.$O\
	fmtprint.$O\
	fmtquote.$O\
	fmtrune.$O\
	fmtstr.$O\
	fmtvprint.$O\
	vseprint.$O\
	dofmt.$O\
	dorfmt.$O\
	encodefmt.$O\
	fcallfmt.$O\
	fltfmt.$O\
	rune.$O\
	runefmtstr.$O\
	runeseprint.$O\
	runesmprint.$O\
	runesnprint.$O\
	runesprint.$O\
	runestrchr.$O\
	runestrlen.$O\
	runestrstr.$O\
	runetype.$O\
	runevseprint.$O\
	runevsmprint.$O\
	runevsnprint.$O\
	seprint.$O\
	smprint.$O\
	snprint.$O\
	sprint.$O\
	strecpy.$O\
	strtod.$O\
	strtoll.$O\
	tokenize.$O\
	utfecpy.$O\
	utflen.$O\
	utfnlen.$O\
	utfrrune.$O\
	utfrune.$O\
	utfutf.$O\
	vfprint.$O\
	vsmprint.$O\
	vsnprint.$O\
	nan64.$O\
	atexit.$O\
	charstod.$O\
	cleanname.$O\
	convD2M.$O\
	convM2D.$O\
	convM2S.$O\
	convS2M.$O\
	ctime.$O\
	crypt.$O\
	dirmodefmt.$O\
	fprint.$O\
	getfields.$O\
	getpid.$O\
	netmkaddr.$O\
	pow10.$O\
	pushssl.$O\
	pushtls.$O\
	read9pmsg.$O\
	readn.$O\
	truerand.$O\
	print.$O\
	write.$O\
	tas.$O\
	werrstr.$O\

default: $(LIB)
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c