NetBSD/sys/arch/i386/stand/genprom/Makefile
drochner e153e51fa3 Make "genprom" work in objdir.
Minor cleanup to ease bootcode development at non-standard locations.
Closes PR port-i386/4013 by Luke Mewburn.
1997-08-20 16:53:30 +00:00

14 lines
282 B
Makefile

# $NetBSD: Makefile,v 1.2 1997/08/20 16:53:30 drochner Exp $
PROG= genprom
NOMAN=
CFLAGS+= -Wall
.include <bsd.prog.mk>
#to be used from netboot's Makefile
rom: ${PROG} ${BINFILE}
dd if=${BINFILE} ibs=32 skip=1 | ./${PROG} ${ROM_SIZE} >${ROMFILE} \
|| (rm ${ROMFILE}; false)