assembly-playground/risc-v/Makefile

5 lines
122 B
Makefile

default:
rm -rf hello
riscv64-linux-gnu-as hello.s -o hello.o
riscv64-linux-gnu-gcc -o hello hello.s -nostdlib -static