summaryrefslogtreecommitdiff
path: root/examples/device/hid_boot_interface/Makefile
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-17 13:21:24 +0700
committerhathach <[email protected]>2021-08-17 13:21:24 +0700
commit5f6418ccd79892c0f8c2152244f7e7a78e17a162 (patch)
tree408f9fd5a724f2377f9bbd2d1c1b6be6e222e24c /examples/device/hid_boot_interface/Makefile
parent02277133aea7a5d7c0908531c81fa3c3978bc318 (diff)
add hid_boot_interface example
Diffstat (limited to 'examples/device/hid_boot_interface/Makefile')
-rw-r--r--examples/device/hid_boot_interface/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/device/hid_boot_interface/Makefile b/examples/device/hid_boot_interface/Makefile
new file mode 100644
index 000000000..138c27846
--- /dev/null
+++ b/examples/device/hid_boot_interface/Makefile
@@ -0,0 +1,15 @@
+include ../../../tools/top.mk
+include ../../make.mk
+
+INC += \
+ src \
+ $(TOP)/hw \
+
+# Example source
+EXAMPLE_SOURCE += \
+ src/main.c \
+ src/usb_descriptors.c
+
+SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
+
+include ../../rules.mk