c19a4a8949908caf80a81d0a1b050a84b6481630
[dragonfly.git] / sys / boot / pc32 / cdboot / Makefile
1 # $FreeBSD: src/sys/boot/i386/cdboot/Makefile,v 1.5 2002/09/17 01:48:55 peter Exp $
2 # $DragonFly: src/sys/boot/pc32/cdboot/Makefile,v 1.4 2004/01/31 06:56:42 dillon Exp $
3
4 ORG=            0x7c00
5
6 PROG=           cdboot
7 NOMAN=
8 STRIP=
9 BINDIR?=        /boot
10
11 ${PROG}: ${PROG}.o
12         ${LD} -N -e start -Ttext ${ORG} -o ${PROG}.out ${PROG}.o
13         objcopy -S -O binary ${PROG}.out ${.TARGET}
14
15 CLEANFILES+=    ${PROG}.o ${PROG}.out
16
17 .include <bsd.prog.mk>