plan9fox/sys/src/ape/lib/ap/stdio/mkfile
Ori Bernstein d4bc9052be Turn on warnings when building libap.
For ape, we never enabled warnings in cflags.
Turning it on brings up a lot of warnings. Most are noise,
but a few caught unused variables and trunctaions of pointers.
to smaller integers (int, long).

A few warnings remain.
2019-06-21 10:00:58 -07:00

70 lines
866 B
Makefile

APE=/sys/src/ape
<$APE/config
LIB=/$objtype/lib/ape/libap.a
OFILES=\
_IO_newfile.$O\
_IO_getc.$O\
_IO_putc.$O\
_dtoa.$O\
_fconv.$O\
clearerr.$O\
atexit.$O\
exit.$O\
fclose.$O\
fdopen.$O\
feof.$O\
ferror.$O\
fflush.$O\
fgetc.$O\
fgetpos.$O\
fgets.$O\
fileno.$O\
fopen.$O\
fprintf.$O\
fputc.$O\
fputs.$O\
fread.$O\
freopen.$O\
fscanf.$O\
fseek.$O\
fseeko.$O\
fsetpos.$O\
ftell.$O\
ftello.$O\
ftoa.$O\
fwrite.$O\
getc.$O\
getchar.$O\
gets.$O\
perror.$O\
pow10.$O\
printf.$O\
putc.$O\
putchar.$O\
puts.$O\
remove.$O\
rewind.$O\
scanf.$O\
sclose.$O\
setbuf.$O\
setvbuf.$O\
snprintf.$O\
sopenr.$O\
sopenw.$O\
sprintf.$O\
sscanf.$O\
stdio.$O\
strerror.$O\
strtod.$O\
tmpnam.$O\
ungetc.$O\
vfprintf.$O\
vfscanf.$O\
vprintf.$O\
vsprintf.$O\
vsnprintf.$O\
</sys/src/cmd/mksyslib
CFLAGS=$CFLAGS -c -D_POSIX_SOURCE