hos/Makefile
josh e124ac5b1b Makefiles created, added initial iso directory
git-svn-id: svn://anubis/hos/trunk@3 5b3e749e-e535-0410-8002-a9bb6afbdfca
2007-07-25 01:08:19 +00:00

19 lines
326 B
Makefile

HOS = hos
MKISOFS = genisoimage
ISO = $(HOS).iso
.PHONY: kernel iso
# default target: build the kernel and ISO image
all: kernel iso
# build the kernel
kernel:
make -C kernel
# build the ISO image
iso: kernel
$(MKISOFS) -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o $(ISO) iso