rustv32i/test/Makefile
2025-03-07 23:27:54 +01:00

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