mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
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.
20 lines
333 B
Makefile
20 lines
333 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= cdboot
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
MAN=
|
|
SRCS= ${PROG}.S
|
|
|
|
CFLAGS+=-I${.CURDIR}/../common
|
|
|
|
ORG= 0x7c00
|
|
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
|
CFLAGS.cdboot.S= ${CLANG_NO_IAS}
|
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|