Makefile 356 B

12345678910111213141516171819
  1. include ../../../tools/top.mk
  2. include ../../make.mk
  3. INC += \
  4. src \
  5. $(TOP)/hw \
  6. # Example source
  7. EXAMPLE_SOURCE += $(wildcard src/*.c)
  8. SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
  9. CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference
  10. SRC_C += \
  11. src/class/hid/hid_host.c \
  12. src/host/hub.c \
  13. src/host/usbh.c
  14. include ../../rules.mk