moved boot.asm into kernel/boot, added kernel/boot/Makefile using new subdir.mak

git-svn-id: svn://anubis/hos/trunk@20 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
josh committed 2009-06-25 21:57:50 +00:00
1 parent a5ca4348d9
commit d8f7e731e1
3 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -17,6 +17,7 @@ endif
export NASM := nasm
WD := $(shell pwd)
export HOS_TOPLEVEL := $(WD)
LDSCRIPT := link.ld
KERNEL := hos
export CPPFLAGS := -I$(WD)/include
@@ -34,7 +35,7 @@ $(KERNEL).gz: $(KERNEL)
gzip -c $< > $@
$(KERNEL): $(SUBDIRS)
$(LD) $(LDFLAGS) -o $@ $(SUBDIRS:%=%/%.o)
$(LD) $(LDFLAGS) -o $@ $(foreach subdir,$(SUBDIRS),$(subdir)/$(subdir).o)
.PHONY: $(SUBDIRS)
$(SUBDIRS):