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