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

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


APE=/sys/src/ape
< $APE/config

TARG=tpic
LIB=libtex/lib.a$O
YFILES=picy.y

BIN=/$objtype/bin

OFILES=main.$O print.$O misc.$O symtab.$O blockgen.$O boxgen.$O \
	 circgen.$O arcgen.$O linegen.$O movegen.$O textgen.$O input.$O for.$O \
	picy.$O picl.$O pltex.$O
HFILES=pic.h y.tab.h

</sys/src/cmd/mkone
CFLAGS=-c -B
YFLAGS=-d -S

picy.c: y.tab.c
	mv y.tab.c picy.c

picl.$O: picl.l
	lex  picl.l
	$CC $CFLAGS lex.yy.c
	rm lex.yy.c
	mv lex.yy.$O picl.$O

libtex/lib.a$O:V:
	cd libtex; mk; cd ..

clean nuke:V:
	rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
	cd libtex; mk nuke; cd ..

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.