BurritOS/test_programs/Makefile.dumps

12 lines
205 B
Makefile
Raw Normal View History

2023-03-01 13:44:48 +01:00
include $(TOPDIR)/Makefile.config
%.o: %.c
$(RISCV_GCC) $(RISCV_CFLAGS) -c $<
%.dump: %.o
$(RISCV_OBJCOPY) -j .text -O $(DUMP_FORMAT) $< $@
clean:
rm -rf *.o 2> /dev/null
rm -rf *.dump 2> /dev/null