#
# Makefile fragment for 6.828 kernel.
# This is NOT a complete makefile;
# you must run GNU make in the top-level directory
# where the GNUmakefile is located.
#

OBJDIRS += boot
CLEAN_FILES += boot/boot boot/boot.out

BOOT_OBJS := boot/boot.o boot/main.o


boot/boot: $(BOOT_OBJS)
	@echo mk boot/boot
	@i386-osclass-aout-ld -N -e start -Ttext 0x7C00 -o $@.out $^
	@i386-osclass-aout-objcopy -S -O binary $@.out $@
	@perl boot/sign.pl boot/boot

