assembly-playground/risc-v/Makefile

5 lines
122 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