3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
18 lines
300 B
Makefile
18 lines
300 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mbr
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
MAN=
|
|
SRCS= ${PROG}.s
|
|
|
|
# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
|
|
BOOT_MBR_FLAGS?= 0x80
|
|
|
|
ORG= 0x600
|
|
|
|
AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|