Makefile revision 40524
1# $Id: Makefile,v 1.5 1998/10/17 14:20:25 rnordier Exp $ 2 3PROG= boot0 4NOMAN= 5STRIP= 6BINDIR?= /boot 7BINMODE= 444 8 9M4?= m4 10 11B0FLAGS=0x0 12B0TICKS=0xb6 13 14ORG= 0x600 15 16boot0: boot0.o 17.if ${OBJFORMAT} == aout 18 ${LD} -N -s -T ${ORG} -o boot0.out boot0.o 19 dd if=boot0.out of=${.TARGET} ibs=32 skip=1 20.else 21 ${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o 22 objcopy -S -O binary boot0.out ${.TARGET} 23.endif 24 25boot0.o: boot0.m4 boot0.s 26 (cd ${.CURDIR}; ${M4} -DFLAGS=${B0FLAGS} -DTICKS=${B0TICKS} \ 27 boot0.m4 boot0.s) | ${AS} ${AFLAGS} -o ${.TARGET} 28 29CLEANFILES+= boot0.out boot0.o 30 31.include <bsd.prog.mk> 32