mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-07-12 13:47:46 +02:00
5 lines
182 B
Makefile
5 lines
182 B
Makefile
CC = clang -Wall -Wpedantic -target riscv32-unknown-linux-gnu -fuse-ld=lld -march=rv32i
|
|
CC_STATIC = $(CC) -static -nostdlib -nodefaultlibs
|
|
|
|
init: init.c
|
|
$(CC_STATIC) init.c -o init
|