summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfile9
-rw-r--r--vis.c (renamed from main.c)0
2 files changed, 5 insertions, 4 deletions
diff --git a/mkfile b/mkfile
index c86d030..6ac7889 100644
--- a/mkfile
+++ b/mkfile
@@ -1,10 +1,11 @@
</$objtype/mkfile
BIN=$home/bin/$objtype
-TARG=3d
+TARG=\
+ vis\
+
OFILES=\
alloc.$O\
- main.$O\
HFILES=dat.h fns.h
@@ -12,7 +13,7 @@ LIB=\
libobj/libobj.a$O\
libgraphics/libgraphics.a$O\
-</sys/src/cmd/mkone
+</sys/src/cmd/mkmany
libgraphics/libgraphics.a$O:
cd libgraphics
@@ -40,4 +41,4 @@ clean nuke:V:
@{cd libobj; mk $target}
uninstall:V:
- rm -f $BIN/$TARG
+ rm -f $BIN/^$TARG
diff --git a/main.c b/vis.c
index 955cdf0..955cdf0 100644
--- a/main.c
+++ b/vis.c