# $OpenBSD: Makefile,v 1.11 1997/10/22 23:25:37 mickey Exp $ PROG= biosboot SRCS= biosboot.S LD=ld LDFLAGS=-nostdlib -Ttext 0 -N -x -Bstatic INSTALL_STRIP= MAN= biosboot.8 SADIR= ${.CURDIR}/.. all: machine-links machine-links: @rm -f i386 machine @ln -fs ${.CURDIR}/../.. i386 @ln -fs ${.CURDIR}/../../include machine ${PROG}: $(OBJS) $(DPADD) @rm -f $(PROG) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) @size $(PROG) .include CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DBOOTMAGIC=$(BOOTMAGIC) -DBOOTREL=$(BOOTREL) CPPFLAGS+=${DEBUGFLAGS} -DBEMBR #AFLAGS+=-Wa,-a