summaryrefslogtreecommitdiff
path: root/utils/rm/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rm/mkfile')
-rw-r--r--utils/rm/mkfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/rm/mkfile b/utils/rm/mkfile
new file mode 100644
index 00000000..0051452b
--- /dev/null
+++ b/utils/rm/mkfile
@@ -0,0 +1,24 @@
+<../../mkconfig
+
+#
+# the rm command is only needed on Windows NT and Windows 95
+#
+
+TARG=rm
+
+OFILES= rm-$TARGMODEL.$O\
+
+HFILES=
+
+LIBS=9
+
+BIN=$ROOT/$OBJDIR/bin
+
+<$ROOT/mkfiles/mkone-$SHELLTYPE
+
+rm-Posix.c rm-Inferno.c:QV:
+ echo 'rm is only built on Windows NT or Windows 95'
+ exit 1
+
+$BIN/rm.exe: $O.out
+ rm -f $target && cp $prereq $target