ref: 84d1ef146386cfe9c26cc897d458e832930ed3e0
dir: /sys/src/cmd/mothra/mkfile/
</$objtype/mkfile TARG=mothra LIB=libpanel/libpanel.$O.a CFILES= \ snoop.c \ forms.c \ getpix.c \ html.syntax.c \ mothra.c \ rdhtml.c \ url.c \ OFILES=${CFILES:%.c=%.$O} version.$O HFILES=mothra.h html.h libpanel/panel.h libpanel/rtext.h BIN=/$objtype/bin </sys/src/cmd/mkone CFLAGS=-Dplan9 -Ilibpanel version.c: $CFILES date|sed 's/^... //;s/ +/-/g;s/.*/char version[]="&";/' >version.c $LIB:V: cd libpanel mk clean nuke:V: @{ cd libpanel; mk $target } rm -f *.[$OS] [$OS].out version.c $TARG