Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/mothra/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

TARG=mothra
LIB=libpanel/libpanel.$O.a 
CFILES= \
	cistr.c \
	crackurl.c \
	file.c \
	filetype.c \
	floyd.c \
	forms.c \
	ftp.c \
	getpix.c \
	gopher.c \
	html.syntax.c \
	http.c \
	mothra.c \
	rdhtml.c \
	auth.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 $TARG

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.