mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
21 lines
383 B
Makefile
21 lines
383 B
Makefile
|
include ../../../tools/top.mk
|
||
|
include ../../make.mk
|
||
|
|
||
|
INC += \
|
||
|
src \
|
||
|
$(TOP)/hw \
|
||
|
|
||
|
# Example source
|
||
|
EXAMPLE_SOURCE += $(wildcard src/*.c)
|
||
|
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
|
||
|
|
||
|
CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference
|
||
|
|
||
|
SRC_C += \
|
||
|
src/class/hid/hid_host.c \
|
||
|
src/host/hub.c \
|
||
|
src/host/usbh.c \
|
||
|
src/host/usbh_control.c
|
||
|
|
||
|
include ../../rules.mk
|