kern

diff Makefile @ 16:2cbc2b922e49

adding paging
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 26 Mar 2011 12:27:57 +0200
parents b11a86695493
children e6f75f91e606
line diff
     1.1 --- a/Makefile	Sat Mar 05 16:59:49 2011 +0200
     1.2 +++ b/Makefile	Sat Mar 26 12:27:57 2011 +0200
     1.3 @@ -8,10 +8,12 @@
     1.4  
     1.5  CC = gcc
     1.6  
     1.7 +inc = -Isrc -Isrc/klibc -Isrc/boot
     1.8 +
     1.9  # -nostdinc instructs the compiler to ignore standard include directories
    1.10  # -m32 instructs the compiler to produce 32bit code (in case we have a 64bit compiler)
    1.11 -CFLAGS = -m32 -Wall -g -nostdinc -fno-builtin -Isrc -Isrc/klibc
    1.12 -ASFLAGS = -m32 -g -nostdinc -fno-builtin -Isrc -Isrc/klibc
    1.13 +CFLAGS = -m32 -Wall -g -nostdinc -fno-builtin $(inc)
    1.14 +ASFLAGS = -m32 -g -nostdinc -fno-builtin $(inc)
    1.15  
    1.16  bin = kernel.elf
    1.17