diff options
author | Russ Cox <rsc@swtch.com> | 2017-04-03 23:12:14 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2017-06-19 13:51:14 +0000 |
commit | 3ebbd193dce0724e106ec9af627a3782676ae510 (patch) | |
tree | 8624d9ceba59a4543754ab965117246949f1907a /src/cmd/svgpic/mkfile | |
parent | a9530c00e860cbbac75b03a1c6bce93ddf0a26f6 (diff) | |
download | plan9port-3ebbd193dce0724e106ec9af627a3782676ae510.tar.gz plan9port-3ebbd193dce0724e106ec9af627a3782676ae510.tar.bz2 plan9port-3ebbd193dce0724e106ec9af627a3782676ae510.zip |
svgpic: new program to convert pic to svg
This is an experiment.
Like tpic it's a copy-and-paste fork of pic.
Change-Id: Ia22772bd5881c7904a6d8f8e0b46fde8cea89cbd
Reviewed-on: https://plan9port-review.googlesource.com/2920
Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'src/cmd/svgpic/mkfile')
-rw-r--r-- | src/cmd/svgpic/mkfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/cmd/svgpic/mkfile b/src/cmd/svgpic/mkfile new file mode 100644 index 00000000..b0284ca1 --- /dev/null +++ b/src/cmd/svgpic/mkfile @@ -0,0 +1,36 @@ +<$PLAN9/src/mkhdr + +TARG=svgpic +OFILES=picy.$O\ + picl.$O\ + 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\ + plsvg.$O\ + +HFILES=pic.h\ + y.tab.h\ + +YFILES=picy.y\ + +<$PLAN9/src/mkone +YFLAGS=-S -d + +picy.c: y.tab.c + mv $prereq $target + +picl.c:D: picl.lx + $LEX -t $prereq > $target + +clean:V: + rm -f *.[$OS] [$OS].out y.tab.? y.debug $TARG picy.c picl.c |