mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 13:25:01 +01: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
|