diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-11-30 20:05:47 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-11-30 20:05:47 +0100 |
commit | a375561ca15a99dd7024e5b8170a3c8fcf25b892 (patch) | |
tree | 06ec9ff45e49400d67f73ce20b3236d8551916a5 /kernel/Makefile | |
parent | 54e7efbbd0e0c88d99bb6bddb82e9fc8d90eae50 (diff) | |
download | kogata-a375561ca15a99dd7024e5b8170a3c8fcf25b892.tar.gz kogata-a375561ca15a99dd7024e5b8170a3c8fcf25b892.zip |
More library functions & renaming.
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 6e973dd..04721ba 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -5,11 +5,11 @@ ASFLAGS = -felf CC = i586-elf-gcc CFLAGS = -ffreestanding -O2 -std=gnu99 -Wall -Wextra -I . -I ./include # CXX = i586-elf-g++ -# CXFLAGS = -ffreestanding -O2 -Wall -Wextra -I . -I ./include -fno-exceptions -fno-rtti +# CXFLAGS = -ffreestanding -O3 -Wall -Wextra -I . -I ./include -fno-exceptions -fno-rtti LD = i586-elf-gcc LDFLAGS = -T linker.ld -ffreestanding -O2 -nostdlib -lgcc -OBJ = lib/stdlib.o lib/printf.o l0/loader.o l0/kmain.o l0/dbglog.o l0/sys.o +OBJ = lib/string.o lib/printf.o l0/loader.o l0/kmain.o l0/dbglog.o l0/sys.o OUT = kernel.bin all: $(OUT) @@ -30,3 +30,5 @@ clean: rm */*.o || true mrproper: clean rm $(OUT) + +rebuild: mrproper all |