a
This commit is contained in:
89
libc/Makefile
Normal file
89
libc/Makefile
Normal file
@@ -0,0 +1,89 @@
|
||||
LIB=libc.a
|
||||
CC=gcc
|
||||
CFLAGS=-I../include -I. -c -ggdb -D_THREAD_SAFE -pthread
|
||||
O=o
|
||||
|
||||
OFILES=\
|
||||
charstod.$O\
|
||||
cleanname.$O\
|
||||
convD2M.$O\
|
||||
convM2D.$O\
|
||||
convM2S.$O\
|
||||
convS2M.$O\
|
||||
crypt.$O\
|
||||
dial.$O\
|
||||
dirfstat.$O\
|
||||
dirfwstat.$O\
|
||||
dirmodefmt.$O\
|
||||
dirstat.$O\
|
||||
dirwstat.$O\
|
||||
dofmt.$O\
|
||||
dorfmt.$O\
|
||||
fcallfmt.$O\
|
||||
fltfmt.$O\
|
||||
fmt.$O\
|
||||
fmtfd.$O\
|
||||
fmtlock.$O\
|
||||
fmtprint.$O\
|
||||
fmtquote.$O\
|
||||
fmtrune.$O\
|
||||
fmtstr.$O\
|
||||
fmtvprint.$O\
|
||||
fprint.$O\
|
||||
frand.$O\
|
||||
getfields.$O\
|
||||
getpid.$O\
|
||||
lnrand.$O\
|
||||
lock.$O\
|
||||
lrand.$O\
|
||||
mallocz.$O\
|
||||
nan64.$O\
|
||||
netmkaddr.$O\
|
||||
nrand.$O\
|
||||
nsec.$O\
|
||||
pow10.$O\
|
||||
pushssl.$O\
|
||||
read9pmsg.$O\
|
||||
readn.$O\
|
||||
rune.$O\
|
||||
runefmtstr.$O\
|
||||
runeseprint.$O\
|
||||
runesmprint.$O\
|
||||
runesnprint.$O\
|
||||
runesprint.$O\
|
||||
runetype.$O\
|
||||
runevseprint.$O\
|
||||
runevsmprint.$O\
|
||||
runevsnprint.$O\
|
||||
seprint.$O\
|
||||
smprint.$O\
|
||||
snprint.$O\
|
||||
sprint.$O\
|
||||
strecpy.$O\
|
||||
strtod.$O\
|
||||
strtoll.$O\
|
||||
sysfatal.$O\
|
||||
time.$O\
|
||||
tokenize.$O\
|
||||
truerand.$O\
|
||||
u16.$O\
|
||||
u32.$O\
|
||||
u64.$O\
|
||||
utfecpy.$O\
|
||||
utflen.$O\
|
||||
utfnlen.$O\
|
||||
utfrrune.$O\
|
||||
utfrune.$O\
|
||||
utfutf.$O\
|
||||
vfprint.$O\
|
||||
vseprint.$O\
|
||||
vsmprint.$O\
|
||||
vsnprint.$O
|
||||
|
||||
$(LIB): $(OFILES)
|
||||
ar r $(LIB) $(OFILES)
|
||||
ranlib $(LIB)
|
||||
|
||||
%.$O: %.c
|
||||
$(CC) $(CFLAGS) $*.c
|
||||
|
Reference in New Issue
Block a user