This compiles.

This commit is contained in:
Simon Forman 2023-02-26 10:06:39 -08:00
parent 843654861b
commit 3d419a3330
2 changed files with 5 additions and 2 deletions

View File

@ -7,8 +7,11 @@ UVM_VM=$(UVM)/vm
run: $(UVM_NCC)/out.asm
cd $(UVM_VM) ; cargo run $(UVM_NCC)/out.asm
$(UVM_NCC)/out.asm: $(UVM_JOY)/xerblin.c
$(UVM_NCC)/out.asm: $(UVM_JOY)/xerblin.c $(UVM_JOY)/font/font.h
cd $(UVM_NCC) ; cargo run $(UVM_JOY)/xerblin.c
$(UVM_JOY)/font/font.h:
gmake -C $(UVM_JOY)/font
clean:
$(RM) $(UVM_NCC)/out.asm

View File

@ -24,7 +24,7 @@ int font_height = {h};
u32 font_data[{len(txt)}][{w * h}];
void
init_font_data(void)
init_font_data()
{{
\tmemset(font_data, 0, {4 * len(txt) * w * h});
''')