freebsd-dev/sys/boot/i386/cdboot/Makefile
Ruslan Ermilov a4a62f5d1f First round of cleanups to sys/boot/ makefiles:
- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.

Tested on:	i386, amd64
Prodded by:	bde
2004-02-06 21:58:32 +00:00

16 lines
268 B
Makefile

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