Plan 9 from Bell Labs’s /usr/web/sources/extra/art/mkfile

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


</$objtype/mkfile

TARG=art
HFILES=	art.h proto.h
CFILES=	alcmd.c align.c arc.c arrowhead.c bezier.c box.c circle.c command.c curpt.c \
	debug.c draw.c edit.c fileio.c geometry.c \
	grid.c group.c  head.c input.c line.c main.c menubar.c msg.c \
	output.c selection.c spline.c storage.c text.c walk.c
OFILES=${CFILES:%.c=%.$O}

BIN=/$objtype/bin
</sys/src/cmd/mkone
CFLAGS=

installall:V:
	for (objtype in $CPUS) mk install
	cp art2pic /rc/bin && chmod +x /rc/bin/art2pic

listing:V:
	pr mkfile $HFILES $CFILES|lp -du

proto:V:
	grep '^[a-zA-Z].*\){$' $CFILES |
		sed 's/{$/;/;s/ \*/* /g' |
		sort +1 |
		sed 's/\* / */g;s@^(.*):(.*)$@\2	/* \1 */@' >proto.h

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].