tinyriscv/tests/example/gpio/Makefile

10 lines
201 B
Makefile
Raw Normal View History

include ../common.mk
.PHONY: all
all:
$(RISCV_GCC) $(CFLAGS) ../start.S main.c -T ../link.lds -o gpio
$(RISCV_OBJCOPY) -O binary gpio gpio.bin
$(RISCV_OBJDUMP) --disassemble-all gpio > gpio.dump