comparison cos/Makefile @ 22:69bc6d477b38

Added python run function
author windel
date Wed, 30 Nov 2011 22:41:51 +0100
parents b1fed2171e1a
children d8627924d40d
comparison
equal deleted inserted replaced
21:66e9c332c845 22:69bc6d477b38
13 -nostdinc \ 13 -nostdinc \
14 -nostdlib \ 14 -nostdlib \
15 -nostartfiles \ 15 -nostartfiles \
16 -mno-red-zone \ 16 -mno-red-zone \
17 -fno-builtin \ 17 -fno-builtin \
18 -mcmodel=large \ 18 -mcmodel=large
19 -Iinclude
20 19
21 OBJECTS = \ 20 OBJECTS = \
22 kernel/video.o \ 21 kernel/video.o \
23 kernel/snprintf.o \ 22 kernel/snprintf.o \
24 kernel/kernel.o \ 23 kernel/kernel.o \
25 kernel/asmcode.o \ 24 kernel/asmcode.o \
26 kernel/handlers.o 25 kernel/handlers.o
27 26
28
29 lcfosc.bin: $(CRT0) $(OBJECTS) linker.ld 27 lcfosc.bin: $(CRT0) $(OBJECTS) linker.ld
30 ld -T linker.ld -o lcfosc.bin $(CRT0) $(OBJECTS) 28 ld -T linker.ld -s -o lcfosc.bin $(CRT0) $(OBJECTS)
31 29
32 %.o : %.asm Makefile 30 %.o : %.asm Makefile
33 nasm -f elf64 -o $@ $< 31 nasm -f elf64 -o $@ $<
34 32
35 %.o : %.c Makefile 33 %.o : %.c Makefile