X11=/sys/src/ape/X11
<$X11/config
LIB=$X11LIB/liblbxutil.a
OFILES=\
# delta \
lbxdelta.$O\
# image \
misc.$O\
dpackbits.$O\
epackbits.$O\
dfaxg42d.$O\
efaxg42d.$O\
# lbx_zlib \
lbx_zlib_io.$O\
lbx_zlib.$O\
reqstats.$O\
CLEANFILES=\
$O.mkg3states\
g3states.h\
</sys/src/cmd/mksyslib
CFLAGS=-c $X11CFLAGS -I.
%.$O: delta/%.c
$CC $CFLAGS delta/$stem.c
%.$O: image/%.c
$CC $CFLAGS image/$stem.c
%.$O: lbx_zlib/%.c
$CC $CFLAGS lbx_zlib/$stem.c
g3states.h: $O.mkg3states
./$O.mkg3states -c > g3states.h
$O.mkg3states: image/mkg3states.c
$CC -B -D_POSIX_SOURCE -D_BSD_EXTENSION -o $target $prereq
dfaxg42d.$O: g3states.h
|