Makefile 339 B

12345678910111213141516171819
  1. RPATH = $(ROOT)/src
  2. OBJS += board.o
  3. OBJS += build_info.o
  4. OBJS += crc.o
  5. OBJS += vectors.o
  6. OBJS += fw_update.o
  7. OBJS += string.o
  8. OBJS += cortex.o
  9. OBJS += time.o
  10. OBJS += timer.o
  11. OBJS += util.o
  12. OBJS-$(debug) += console.o
  13. SUBDIRS += mcu usb
  14. .PHONY: $(RPATH)/build_info.c
  15. build_info.o: CFLAGS += -DFW_MAJOR=$(FW_MAJOR) -DFW_MINOR=$(FW_MINOR)