freebsd-dev/sys/boot/sparc64/boot1/Makefile
Robert Drehmel aa22cb469c Change every occurrence of "bootblock" into "boot1" after
the repo-move from "src/sys/boot/sparc64/bootblock".
2002-03-05 16:39:36 +00:00

20 lines
383 B
Makefile

# $FreeBSD$
BOOTBLOCKBASE= 0x4000
CFLAGS= -W -Wall -I../../ -I../../common/ -Os \
-DBOOTBLOCKBASE=${BOOTBLOCKBASE} \
-ffreestanding -mno-app-regs -mcmodel=medlow
OBJ= boot1.o
all: boot1
boot1.o: boot1.c
${CC} ${CFLAGS} -c -o ${.TARGET} ${.ALLSRC}
boot1: ${OBJ}
${LD} -N -Ttext ${BOOTBLOCKBASE} -e main -o boot1 ${OBJ}
/usr/local/bin/elftoaout boot1
clean:
rm -f *.o boot1