diff options
Diffstat (limited to 'sys/arch/amd64/stand/mbr/Makefile')
-rw-r--r-- | sys/arch/amd64/stand/mbr/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/amd64/stand/mbr/Makefile b/sys/arch/amd64/stand/mbr/Makefile index 5a16064c8ff..d1bf020173e 100644 --- a/sys/arch/amd64/stand/mbr/Makefile +++ b/sys/arch/amd64/stand/mbr/Makefile @@ -1,6 +1,9 @@ -# $OpenBSD: Makefile,v 1.6 2012/09/25 09:01:03 pascal Exp $ +# $OpenBSD: Makefile,v 1.7 2013/01/17 12:25:11 jsing Exp $ # +S= ${.CURDIR}/../../../.. +SADIR= ${.CURDIR}/.. + PROG= mbr SRCS= mbr.S AFLAGS+=-m32 @@ -14,14 +17,12 @@ NOMAN= #MAN+= mbr.8 INSTALL_STRIP= -SADIR=${.CURDIR}/.. -S= ${.CURDIR}/../../../.. # Uncomment this to make mbr talk to a serial port. #CPPFLAGS+=-DSERIAL=0 -${PROG}: $(OBJS) $(DPADD) - $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LDADD) +${PROG}: $(OBJS) + $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) @size $(PROG) @if [ -x ${.OBJDIR}/${PROG} ]; then \ objcopy -O binary ${PROG} ${.OBJDIR}/.tmp;\ |