Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / landisk / stand / mbr / Makefile.mbr
blobd690071403d25ca4e7e8ac6dc71fbae0bb0ff1e4
1 #       $NetBSD: Makefile.mbr,v 1.1 2006/09/01 21:26:19 uwe Exp $
3 S=      ${.CURDIR}/../../../../..
5 NOMAN=          # defined
7 LIBCRT0=        # nothing
8 LIBCRTBEGIN=    # nothing
9 LIBCRTEND=      # nothing
10 LIBC=           # nothing
12 .include <bsd.own.mk>
14 STRIPFLAG=      # override
16 SRCS?=          mbr.S
18 BINDIR=         /usr/mdec
19 BINMODE=        444
21 .PATH:  ${.CURDIR}/..
23 LDFLAGS+=       -N -e start
24 CPPFLAGS=       -nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${S}
26 CLEANFILES+=    ${PROG}.tmp
28 ${PROG}: ${OBJS}
29         ${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x8c200200 ${OBJS}
30         ${OBJCOPY} -O binary ${PROG}.tmp ${PROG}
31         -rm -f ${PROG}.tmp
33 .include <bsd.klinks.mk>
34 .include <bsd.prog.mk>