This commit is contained in:
nora 2025-03-08 17:00:21 +01:00
parent 7183421b8f
commit 29bb73425b
7 changed files with 423 additions and 23 deletions

View file

@ -1,5 +1,5 @@
CC = clang -target riscv32-unknown-linux-gnu -fuse-ld=lld -march=rv32i
CC = clang -Wall -Wpedantic -target riscv32-unknown-linux-gnu -fuse-ld=lld -march=rv32i
CC_STATIC = $(CC) -static -nostdlib -nodefaultlibs
test: test.c
$(CC_STATIC) test.c -o test
init: init.c
$(CC_STATIC) init.c -o init