kern

diff Makefile @ 72:3941e82b07f2

- implemented syscalls: exit, waitpid, getppid - moved sys_whatever functions out of syscall.c into more reasonable files - putting all the definitions that must be synced with userland to include/kdef.h
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Oct 2011 07:45:56 +0300
parents 637efe95d0d1
children
line diff
     1.1 --- a/Makefile	Thu Oct 13 05:22:35 2011 +0300
     1.2 +++ b/Makefile	Sat Oct 15 07:45:56 2011 +0300
     1.3 @@ -1,4 +1,5 @@
     1.4  ifneq ($(shell uname -m), i386)
     1.5 +	# -m32 instructs the compiler to produce 32bit code
     1.6  	ccemu = -m32
     1.7  
     1.8  	ifeq ($(shell uname -s), FreeBSD)
     1.9 @@ -18,11 +19,10 @@
    1.10  
    1.11  CC = gcc
    1.12  
    1.13 -inc = -Isrc -Isrc/klibc -Isrc/boot
    1.14 +inc = -Isrc -Isrc/klibc -Isrc/boot -Iinclude
    1.15  
    1.16  # -nostdinc instructs the compiler to ignore standard include directories
    1.17 -# -m32 instructs the compiler to produce 32bit code (in case we have a 64bit compiler)
    1.18 -CFLAGS = $(ccemu) -Wall -g -nostdinc -fno-builtin $(inc)
    1.19 +CFLAGS = $(ccemu) -Wall -g -nostdinc -fno-builtin $(inc) -DKERNEL
    1.20  ASFLAGS = $(ccemu) -g -nostdinc -fno-builtin $(inc)
    1.21  
    1.22  bin = kernel.elf