aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-05-15 23:24:00 +0000
committerrsc <devnull@localhost>2004-05-15 23:24:00 +0000
commit5cedca1b69d020c32466f70843a11767773d7e3b (patch)
treea15a3d84e92aa262543b0010763a5e6920c9ba24 /src/cmd/grap/mkfile
parent76e6aca867e3e48ea04fbcf7284c45369a69829e (diff)
downloadplan9port-5cedca1b69d020c32466f70843a11767773d7e3b.tar.gz
plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.tar.bz2
plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.zip
Let's try this. It's BUGGERED.
Diffstat (limited to 'src/cmd/grap/mkfile')
-rw-r--r--src/cmd/grap/mkfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/cmd/grap/mkfile b/src/cmd/grap/mkfile
new file mode 100644
index 00000000..872497d1
--- /dev/null
+++ b/src/cmd/grap/mkfile
@@ -0,0 +1,37 @@
+<$PLAN9/src/mkhdr
+
+TARG=grap
+OFILES=\
+ grap.$O\
+ grapl.$O\
+ main.$O\
+ input.$O\
+ print.$O\
+ frame.$O\
+ for.$O\
+ coord.$O\
+ ticks.$O\
+ plot.$O\
+ label.$O\
+ misc.$O\
+
+HFILES=grap.h\
+ y.tab.h\
+
+YFILES=grap.y\
+
+LFILES=grapl.lx\
+
+SHORTLIB=bio 9
+<$PLAN9/src/mkone
+YFLAGS = -d -S
+LEX=9lex
+
+grap.c: y.tab.c
+ mv $prereq $target
+
+grapl.c: $LFILES
+ $LEX -t $prereq > $target
+
+clean:V:
+ rm -f [$OS].out *.[$OS] y.tab.? lex.yy.c grapl.c grap.c grap