assembly-playground/risc-v/Makefile

6 lines
129 B
Makefile

default:
rm -rf hello
riscv64-linux-gnu-as main.asm -o main.o
riscv64-linux-gnu-gcc -o main main.asm -nostdlib -static
# test