a4a62f5d1f
- 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
16 lines
264 B
Makefile
16 lines
264 B
Makefile
# $FreeBSD$
|
|
|
|
FILES= ${BOOT}
|
|
CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o
|
|
|
|
BOOT= mbr
|
|
ORG= 0x600
|
|
|
|
${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>
|