-# $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
all: ${OBJS}
bugcrt.o: bugcrt.c
- ${CC} ${CFLAGS} -c ${.ALLSRC}
+ ${COMPILE.c} -c $<
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
-/* $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 */