You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

Makefile 695B

12345678910111213141516171819202122232425262728293031323334353637
  1. PROJECT = infinity
  2. TMK_DIR = ../..
  3. MBED_DIR = $(TMK_DIR)/mbed-sdk
  4. #VPATH += $(MBED_DIR):$(TMK_DIR)
  5. vpath %.s .:$(MBED_DIR):$(TMK_DIR)
  6. vpath %.c .:$(MBED_DIR):$(TMK_DIR)
  7. vpath %.cpp .:$(MBED_DIR):$(TMK_DIR)
  8. OBJDIR = ./build
  9. OBJECTS = \
  10. $(OBJDIR)/matrix.o \
  11. $(OBJDIR)/keymap.o \
  12. $(OBJDIR)/keymap_common.o \
  13. $(OBJDIR)/led.o \
  14. $(OBJDIR)/main.o
  15. CONFIG_H = config.h
  16. INCLUDE_PATHS = -I.
  17. # Build Options
  18. # Comment out to disable
  19. #BOOTMAGIC_ENABLE = yes
  20. #MOUSEKEY_ENABLE = yes
  21. include mbed-infinity.mk
  22. include $(TMK_DIR)/tool/mbed/mbed.mk
  23. include $(TMK_DIR)/tool/mbed/common.mk
  24. include $(TMK_DIR)/tool/mbed/gcc.mk
  25. program: $(OBJDIR)/$(PROJECT).bin
  26. dfu-util -D $(OBJDIR)/$(PROJECT).bin