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

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


</$objtype/mkfile

CC=pcc
CFLAGS=-c -I../cdt -D_POSIX_SOURCE -D_BSD_EXTENSION
LIB=libgraph.a
OFILES=attribs.$O edge.$O graph.$O graphio.$O lexer.$O \
	node.$O parser.$O refstr.$O trie.$O
HFILES=graph.h libgraph.h triefa.h parser.h
YFILES=parser.y

CFLAGS=$CFLAGS -I../cdt

</sys/src/cmd/mklib

YFLAGS=-d -S

parser.c parser.h: y.tab.c y.tab.h
	sed s/yy/ag/g < y.tab.c > parser.c
	sed s/yy/ag/g < y.tab.h > parser.h

cleanup:V:
	rm -f parser.h parser.c 

clean:V: cleanup
nuke:V: cleanup




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.