summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/stand/bugcrt/Makefile8
-rw-r--r--sys/arch/mvme68k/stand/bugcrt/bugcrt.c3
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/stand/bugcrt/Makefile b/sys/arch/mvme68k/stand/bugcrt/Makefile
index 560f4afef4d..d9c9df7fe61 100644
--- a/sys/arch/mvme68k/stand/bugcrt/Makefile
+++ b/sys/arch/mvme68k/stand/bugcrt/Makefile
@@ -1,8 +1,10 @@
-# $OpenBSD: Makefile,v 1.6 1996/05/16 02:21:58 chuck Exp $
+# $OpenBSD: Makefile,v 1.7 1997/04/22 16:05:38 gvf Exp $
#
# DO NOT OPTMIZE bugcrt (i.e. no "-O2")
#
-CFLAGS=-I${.CURDIR}/../../include -I${.CURDIR}/../libbug -fomit-frame-pointer
+S=${.CURDIR}/../../../..
+CFLAGS=-I${.CURDIR}/../../include -I${.CURDIR}/../libbug -I${S}/lib/libsa \
+ -fomit-frame-pointer
OBJS=bugcrt.o
@@ -11,7 +13,7 @@ CLEANFILES+=a.out
all: ${OBJS}
bugcrt.o: bugcrt.c
- ${CC} ${CFLAGS} -c ${.ALLSRC}
+ ${COMPILE.c} -c $<
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
diff --git a/sys/arch/mvme68k/stand/bugcrt/bugcrt.c b/sys/arch/mvme68k/stand/bugcrt/bugcrt.c
index 2d0e473aea0..985b85e4519 100644
--- a/sys/arch/mvme68k/stand/bugcrt/bugcrt.c
+++ b/sys/arch/mvme68k/stand/bugcrt/bugcrt.c
@@ -1,9 +1,10 @@
-/* $OpenBSD: bugcrt.c,v 1.3 1996/05/19 19:51:48 chuck Exp $ */
+/* $OpenBSD: bugcrt.c,v 1.4 1997/04/22 16:05:38 gvf Exp $ */
#include <sys/types.h>
#include <machine/prom.h>
#include "libbug.h"
+#include "stand.h"
struct mvmeprom_args bugargs = { 1 }; /* not in BSS */