summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bugcrt/Makefile
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1998-12-15 06:12:51 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1998-12-15 06:12:51 +0000
commit6d51a3609c2a75795ae9487536608be366f37cca (patch)
tree859c216821b15cff8eba7e25b5873c6c760e047e /sys/arch/mvme88k/stand/bugcrt/Makefile
parentee313f9cb07de5488da8b539c105ade3d6864c74 (diff)
Added sdcrt.c to make bootxx and bootsd work.
Diffstat (limited to 'sys/arch/mvme88k/stand/bugcrt/Makefile')
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/stand/bugcrt/Makefile b/sys/arch/mvme88k/stand/bugcrt/Makefile
index 3bb46db9c62..3e5483d2c70 100644
--- a/sys/arch/mvme88k/stand/bugcrt/Makefile
+++ b/sys/arch/mvme88k/stand/bugcrt/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 1998/08/22 09:16:45 smurph Exp $
+# $OpenBSD: Makefile,v 1.5 1998/12/15 06:12:50 smurph Exp $
#
# DO NOT OPTMIZE bugcrt (i.e. no "-O2")
#
@@ -6,9 +6,9 @@ S=${.CURDIR}/../../../..
CFLAGS=-I${.CURDIR}/../../include -I${.CURDIR}/../libbug -I${S}/lib/libsa \
-fomit-frame-pointer
-OBJS=bugcrt.o
+OBJS=bugcrt.o sdcrt.o
-CLEANFILES+=a.out
+CLEANFILES+=a.out ${OBJS}
all: ${OBJS}
@@ -17,6 +17,11 @@ bugcrt.o: bugcrt.c
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
+sdcrt.o: sdcrt.c
+ ${COMPILE.c} -c $<
+ ${LD} -x -r ${.TARGET}
+ mv a.out ${.TARGET}
+
install:
lint tags: