Mercurial > lcfOS
view cos/kernel/Makefile @ 33:d8185ddb6c7b
Added more interrupt handlers
author | windel |
---|---|
date | Sun, 15 Jan 2012 13:39:49 +0100 |
parents | 3a6a9b929db0 |
children | 8012221dd740 |
line wrap: on
line source
# vim: set noexpandtab: all: lcfos.bin Makefile CRT0 = goto64.o CFLAGS = -m64 -nostdinc -nostdlib -nostartfiles -mno-red-zone \ -fno-builtin -mcmodel=large -Wall -Wextra -Werror OBJECTS = video.o snprintf.o kernel.o asmcode.o handlers.o keyboard.o \ klib.o malloc.o task.o mm.o timer.o fs.o initrd.o lcfos.bin: $(CRT0) $(OBJECTS) link.ld ld -M -T link.ld -s -o lcfos.bin $(CRT0) $(OBJECTS) %.o : %.asm nasm -f elf64 -o $@ $< %.o : %.c kernel.h gcc $(CFLAGS) -o $@ -c $< clean: rm $(OBJECTS) $(CRT0) lcfos.bin