summaryrefslogtreecommitdiff
path: root/parse/mkfile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-12-25 23:49:39 -0800
committerOri Bernstein <ori@eigenstate.org>2014-12-25 23:49:39 -0800
commita349fd1e69f7381661b772b84d910e2e0ad807c4 (patch)
treedc6b64c7c4fbe092addbf054eb0d6fcded1c1caf /parse/mkfile
parentcc1be5641df28864deb468d47577be35a25e0c03 (diff)
downloadmc-a349fd1e69f7381661b772b84d910e2e0ad807c4.tar.gz
Make installation work correctly.
Diffstat (limited to 'parse/mkfile')
-rw-r--r--parse/mkfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse/mkfile b/parse/mkfile
index d2053e8..415cae3 100644
--- a/parse/mkfile
+++ b/parse/mkfile
@@ -18,11 +18,15 @@ OFILES=bitset.$O \
use.$O \
util.$O
-HFILES=parse.h
+HFILES=parse.h ../config.h
CLEANFILES=gram.c gram.h
</sys/src/cmd/mklib
+install:V: $LIB
+ touch $LIB
+
+
gram.c gram.h: gram.y
yacc -d -S gram.y
mv y.tab.c gram.c