kern

diff Makefile @ 10:b11a86695493

interrupt handling
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Feb 2011 08:42:32 +0200
parents 611b2d66420b
children 2cbc2b922e49
line diff
     1.1 --- a/Makefile	Wed Feb 16 08:01:19 2011 +0200
     1.2 +++ b/Makefile	Fri Feb 18 08:42:32 2011 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  # collect all of our C and assembly source files
     1.5 -csrc = $(wildcard src/*.c) $(wildcard src/klibc/*.c)
     1.6 -asmsrc = $(wildcard src/*.S) $(wildcard src/klibc/*.S)
     1.7 +csrc = $(wildcard src/boot/*.c) $(wildcard src/*.c) $(wildcard src/klibc/*.c)
     1.8 +asmsrc = $(wildcard src/boot/*.S) $(wildcard src/*.S) $(wildcard src/klibc/*.S)
     1.9  dep = $(asmsrc:.S=.d) $(csrc:.c=.d)
    1.10  
    1.11  # each source file will generate one object file
    1.12 @@ -19,7 +19,7 @@
    1.13  # we need to specify where to assume the text section (code) is going
    1.14  # in memory, as well as the kernel entry point (kentry).
    1.15  $(bin): $(obj)
    1.16 -	ld -melf_i386 -o $@ -Ttext 0x100000 -e kentry $(obj)
    1.17 +	ld -melf_i386 -o $@ -Ttext 0x100000 -e kentry $(obj) -Map link.map
    1.18  
    1.19  -include $(dep)
    1.20