summaryrefslogtreecommitdiff
path: root/fuzz/device/cdc/Makefile
diff options
context:
space:
mode:
authorNathaniel Brough <[email protected]>2022-10-27 22:56:31 +0000
committerhathach <[email protected]>2022-12-08 10:13:35 +0700
commitaedae6201b2e328baf557f1417bb5c83615ca640 (patch)
tree308ae6326f982677848c9dbf4f35fccce23353a0 /fuzz/device/cdc/Makefile
parentab8cfb3d5bbefcc3ff19a086070b0c83581d789d (diff)
fuzz: Add support for fuzzing
Adds support for fuzzing with basic cdc fuzzer.
Diffstat (limited to 'fuzz/device/cdc/Makefile')
-rw-r--r--fuzz/device/cdc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/fuzz/device/cdc/Makefile b/fuzz/device/cdc/Makefile
new file mode 100644
index 000000000..76a43923f
--- /dev/null
+++ b/fuzz/device/cdc/Makefile
@@ -0,0 +1,12 @@
+include ../../../tools/top.mk
+include ../../make.mk
+
+INC += \
+ src \
+ $(TOP)/hw \
+
+# Example source
+SRC_C += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.c))
+SRC_CXX += $(addprefix $(CURRENT_PATH)/, $(wildcard src/*.cc))
+
+include ../../rules.mk