summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/cdc_msc_hid/Makefile')
-rw-r--r--examples/host/cdc_msc_hid/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/host/cdc_msc_hid/Makefile b/examples/host/cdc_msc_hid/Makefile
index 272acbac8..ad28076a0 100644
--- a/examples/host/cdc_msc_hid/Makefile
+++ b/examples/host/cdc_msc_hid/Makefile
@@ -6,11 +6,12 @@ INC += \
$(TOP)/hw \
# Example source
-EXAMPLE_SOURCE += $(wildcard src/*.c)
-SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
+EXAMPLE_SOURCE = \
+ src/hid_app.c \
+ src/main.c \
+ src/msc_app.c \
-# TODO: suppress warning caused by host stack
-CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference
+SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
# TinyUSB Host Stack source
SRC_C += \