mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
12 lines
360 B
Makefile
12 lines
360 B
Makefile
all:
|
|
# zig's objcopy is broken, so use external tool
|
|
# https://ziggit.dev/t/addobjcopy-producing-zero-padding-at-start-of-binary/13384
|
|
zig build && docker run -v `pwd`:/data -w /data --rm riscv-dev riscv64-unknown-elf-objcopy zig-out/bin/zigtris -O binary zigtris.bin
|
|
|
|
clean:
|
|
rm -rf zigtris.bin zig-out .zig-cache
|
|
|
|
test: all
|
|
../../host/host zigtris.bin
|
|
|
|
|