aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/eqn/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/eqn/mkfile')
-rw-r--r--src/cmd/eqn/mkfile42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/cmd/eqn/mkfile b/src/cmd/eqn/mkfile
new file mode 100644
index 00000000..5f8e559c
--- /dev/null
+++ b/src/cmd/eqn/mkfile
@@ -0,0 +1,42 @@
+<$PLAN9/src/mkhdr
+
+TARG=eqn
+OFILES=main.$O\
+ tuning.$O\
+ diacrit.$O\
+ eqnbox.$O\
+ font.$O\
+ fromto.$O\
+ funny.$O\
+ glob.$O\
+ integral.$O\
+ input.$O\
+ lex.$O\
+ lookup.$O\
+ mark.$O\
+ matrix.$O\
+ move.$O\
+ over.$O\
+ paren.$O\
+ pile.$O\
+ shift.$O\
+ size.$O\
+ sqrt.$O\
+ text.$O\
+ eqn.$O\
+
+YFILES=eqn.y\
+
+HFILES=e.h\
+ y.tab.h\
+
+SHORTLIB=bio 9
+<$PLAN9/src/mkone
+
+YFLAGS=-d -S
+
+eqn.c: y.tab.c prevy.tab.h
+ mv y.tab.c $target
+
+prevy.tab.h: y.tab.h
+ sh -c 'cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h'