From 5c34ff9e1c19fd73ccc79c0f702f7c4b964840d1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 23 Nov 2003 18:10:54 +0000 Subject: make -> mk --- src/mkcommon | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/mkcommon (limited to 'src/mkcommon') diff --git a/src/mkcommon b/src/mkcommon new file mode 100644 index 00000000..506cd438 --- /dev/null +++ b/src/mkcommon @@ -0,0 +1,21 @@ +%.$O: $HFILES # don't combine with following %.$O rules + +%.$O: %.c + $CC $CFLAGS $stem.c + +%.$O: %.s + $AS $AFLAGS $stem.s + +clean:V: + rm -f *.[$OS] [$OS].out $CLEANFILES + +%.clean:V: + rm -f $stem.[$OS] [$OS].$stem $stem.acid $stem + +nuke:V: + rm -f *.[$OS] [$OS].out $CLEANFILES + +Makefile:D: mkfile + rm -f Makefile + sh $PLAN9/src/mk2make mkfile >Makefile + chmod 444 Makefile -- cgit v1.2.3