aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/rio/mkfile2
-rw-r--r--src/cmd/rio/mkriorules.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
index a640e594..5f346d6c 100644
--- a/src/cmd/rio/mkfile
+++ b/src/cmd/rio/mkfile
@@ -25,7 +25,7 @@ TARG=rio
L64=`[ -d $X11/lib64 ] && echo 64; echo`
LDFLAGS=-L$X11/lib$L64/ -lXext -lX11
-<$PLAN9/src/mkone
+<|sh mkriorules.sh
CFLAGS=$CFLAGS -DSHAPE
diff --git a/src/cmd/rio/mkriorules.sh b/src/cmd/rio/mkriorules.sh
new file mode 100644
index 00000000..0b25d2e2
--- /dev/null
+++ b/src/cmd/rio/mkriorules.sh
@@ -0,0 +1,6 @@
+if [ "x$WSYSTYPE" = xnowsys ]; then
+ echo 'all install clean nuke:Q:'
+ echo ' #'
+ exit 0
+fi
+cat $PLAN9/src/mkone \ No newline at end of file