summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 23:25:38 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 23:25:38 +0000
commit134012b12dcb1aceb77acb06b9605960ff4d0a81 (patch)
treec9a13bf002123734f1081e3714976672d6f0333c /sys/arch/i386/stand
parent4ba0c5731a0514b8f8aa0f788725a0d6d62283eb (diff)
honour DEBUGFLAGS, rm before ld
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/biosboot/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/biosboot/Makefile b/sys/arch/i386/stand/biosboot/Makefile
index 95b2afeef59..b8dc52a85eb 100644
--- a/sys/arch/i386/stand/biosboot/Makefile
+++ b/sys/arch/i386/stand/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 1997/08/29 22:26:59 mickey Exp $
+# $OpenBSD: Makefile,v 1.11 1997/10/22 23:25:37 mickey Exp $
PROG= biosboot
SRCS= biosboot.S
@@ -16,11 +16,12 @@ machine-links:
@ln -fs ${.CURDIR}/../../include machine
${PROG}: $(OBJS) $(DPADD)
+ @rm -f $(PROG)
$(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD)
@size $(PROG)
.include <bsd.prog.mk>
CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DBOOTMAGIC=$(BOOTMAGIC) -DBOOTREL=$(BOOTREL)
-CPPFLAGS+=-DBEMBR
+CPPFLAGS+=${DEBUGFLAGS} -DBEMBR
#AFLAGS+=-Wa,-a