summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/mbr
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-28 20:52:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-28 20:52:43 +0000
commite14f3bc839d97d42ba70c1db48ca0ba5d21d21cc (patch)
tree19a06cd41aafd7f329c594cd3ecc7f85f9e20b28 /sys/arch/i386/stand/mbr
parentf7c2e9309bb92905bc0ef3ccc8ccb8ad200da65d (diff)
cleanup the Makefiles a bit.
make machine link in a smart way, remove unused bits.
Diffstat (limited to 'sys/arch/i386/stand/mbr')
-rw-r--r--sys/arch/i386/stand/mbr/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/i386/stand/mbr/Makefile b/sys/arch/i386/stand/mbr/Makefile
index 74e84d4a41f..b9e08f9bac1 100644
--- a/sys/arch/i386/stand/mbr/Makefile
+++ b/sys/arch/i386/stand/mbr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 1998/05/25 19:06:41 mickey Exp $
+# $OpenBSD: Makefile,v 1.8 1998/05/28 20:52:42 mickey Exp $
#
PROG= mbr
@@ -9,18 +9,11 @@ LDFLAGS=-nostdlib -Ttext 0 -x -N -s -Bstatic
MAN+= mbr.8
INSTALL_STRIP=
SADIR=${.CURDIR}/..
-CLEANFILES= i386 machine
+S= ${.CURDIR}/../../../..
# Uncomment this to make mbr talk to a serial port.
#CPPFLAGS+=-DSERIAL=0
-all: machine-links
-
-machine-links:
- @rm -f machine i386
- @ln -fs ${.CURDIR}/../.. i386
- @ln -fs ${.CURDIR}/../../include machine
-
${PROG}: $(OBJS) $(DPADD)
$(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD)
@size $(PROG)