cvw/examples/asm/example/Makefile
2022-01-25 06:53:03 +00:00

10 lines
285 B
Makefile

example.objdump: example
riscv64-unknown-elf-objdump -D example > example.objdump
example: example.S Makefile
riscv64-unknown-elf-gcc -o example -march=rv32i -mabi=ilp32 -mcmodel=medany \
-nostartfiles -T../../link/link.ld example.S
clean:
rm -f example example.objdump