Do .bin inclusion in C code at build

This commit is contained in:
Toby Jaffey 2025-12-11 12:48:41 +00:00
parent 809f8ce115
commit 1213c5673f
8 changed files with 64 additions and 55 deletions

View file

@ -1,4 +1,5 @@
all:
xxd -n mandel -i ../precompiled/mandel.bin | sed -e "s/unsigned char/const unsigned char/" > mandel.h
gcc -Wall -DUVM32_MEMORY_SIZE=512 -O2 -I../uvm32 -I../common -o host-mini ../uvm32/uvm32.c host-mini.c
clean: