mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
14 lines
356 B
Makefile
14 lines
356 B
Makefile
TARGET = 3p1
|
|
|
|
$(TARGET).objdump: $(TARGET).elf
|
|
riscv64-unknown-elf-objdump -D $(TARGET).elf > $(TARGET).objdump
|
|
|
|
$(TARGET).elf: $(TARGET).S Makefile
|
|
riscv64-unknown-elf-gcc -g -o $(TARGET) -march=rv64gc -mabi=lp64 -mcmodel=medany \
|
|
-nostartfiles -T../../link/link.ld $(TARGET).S -o $(TARGET).elf
|
|
|
|
clean:
|
|
rm -f $(TARGET).elf $(TARGET).objdump
|
|
|
|
|