Deleted Added
full compact
Makefile (39974) Makefile (39980)
1# $Id:$
1# $Id: Makefile,v 1.1.1.1 1998/10/05 10:08:37 rnordier Exp $
2
2
3PROG= boot0
4NOMAN=
5STRIP=
6BINDIR?= /boot
7
3M4?= m4
4
5ORG= 0x600
6
8M4?= m4
9
10ORG= 0x600
11
7all: boot0
8
9boot0: boot0.o
10 ${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o
11 /usr/libexec/elf/objcopy -S -O binary boot0.out ${.TARGET}
12
13boot0.o: boot0.m4 boot0.s
14 (cd ${.CURDIR}; ${M4} boot0.m4 boot0.s) | \
15 ${AS} ${AFLAGS} -o ${.TARGET}
16
12boot0: boot0.o
13 ${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o
14 /usr/libexec/elf/objcopy -S -O binary boot0.out ${.TARGET}
15
16boot0.o: boot0.m4 boot0.s
17 (cd ${.CURDIR}; ${M4} boot0.m4 boot0.s) | \
18 ${AS} ${AFLAGS} -o ${.TARGET}
19
17CLEANFILES+= boot0 boot0.out boot0.o
20CLEANFILES+= boot0.out boot0.o
18
19.include <bsd.prog.mk>
21
22.include <bsd.prog.mk>