WIP : About to rip out the old parser and solver, can't get things working the way I expect and the old code is in the way
This commit is contained in:
7
Makefile
7
Makefile
@@ -4,11 +4,14 @@ endif
|
||||
|
||||
all: boot.img kernel.bin
|
||||
|
||||
src/%.S: src/%.c
|
||||
~/bin/bcc -ansi -0 -S -d -t $@ $<
|
||||
|
||||
src/%.o: src/%.c
|
||||
bcc -ansi -0 -c -o $@ $<
|
||||
~/bin/bcc -ansi -0 -c -o $@ $<
|
||||
|
||||
kernel.bin: src/screen.o src/conio.o src/string.o src/stdlib.o src/basic.o src/kernel.o
|
||||
ld86 -d -M -o $@ $^ | tee ld86.out
|
||||
~/bin/ld86 -d -M -L/home/andrew/lib/bcc -lbcc -o $@ $^ | tee ld86.out
|
||||
|
||||
asm/kernel_syms.S: kernel.bin
|
||||
cat ld86.out | \
|
||||
|
||||
Reference in New Issue
Block a user