blob: 2e82f79aa898208a01b9f14733a69b7fb307853e [file] [log] [blame]
.PHONY: all compile assemble dump clean
all: compile assemble dump
compile:
riscv64-unknown-elf-gcc -S csr.c
assemble:
riscv64-unknown-elf-gcc -c csr.s
dump:
riscv64-unknown-elf-objdump -d csr.o
clean:
rm *.s
rm *.o