This compiles.
This commit is contained in:
parent
843654861b
commit
3d419a3330
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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});
|
||||
''')
|
||||
|
|
|
|||
Loading…
Reference in New Issue