Mercurial > lcfOS
view cos/kernel/Makefile @ 31:88590c42320f
Changed interrupt handler
author | windel |
---|---|
date | Tue, 10 Jan 2012 20:40:35 +0100 |
parents | 0148f55bfe24 |
children | 3a6a9b929db0 |
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 lcfos.bin: $(CRT0) $(OBJECTS) link.ld ld -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) lcfosc.bin