freebsd-nq/sys/boot/i386/cdboot/Makefile
Ruslan Ermilov bcd106e18b - Factor out -nostdlib to an upper level Makefile.inc.
- Now that bsd.prog.mk deals with programs linked with -nostdlib
  better, and has a notion of an "internal" program, use PROG
  where possible.  This has a good impact on the contents of
  .depend files and causes programs to be linked with cc(1).

XXX: boot2 couldn't be converted as it's actually two programs.

Tested on:	i386, amd64
2004-02-09 14:11:58 +00:00

19 lines
255 B
Makefile

# $FreeBSD$
PROG= ${BOOT}.out
INTERNALPROG=
FILES= ${BOOT}
NOMAN=
SRCS= ${BOOT}.s
CLEANFILES= ${BOOT}
BOOT= cdboot
ORG= 0x7c00
${BOOT}: ${BOOT}.out
objcopy -S -O binary ${BOOT}.out ${.TARGET}
LDFLAGS=-N -e start -Ttext ${ORG}
.include <bsd.prog.mk>