mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 13:25:01 +01:00
5 lines
165 B
Makefile
5 lines
165 B
Makefile
CC = clang -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
|