summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/test/cmdline_test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/test/cmdline_test/Makefile')
-rw-r--r--src/spdk/dpdk/test/cmdline_test/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/dpdk/test/cmdline_test/Makefile b/src/spdk/dpdk/test/cmdline_test/Makefile
new file mode 100644
index 00000000..3e742190
--- /dev/null
+++ b/src/spdk/dpdk/test/cmdline_test/Makefile
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+ifeq ($(CONFIG_RTE_LIBRTE_CMDLINE),y)
+
+#
+# library name
+#
+APP = cmdline_test
+
+#
+# all sources are stored in SRCS-y
+#
+SRCS-y += cmdline_test.c
+SRCS-y += commands.c
+
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS)
+
+include $(RTE_SDK)/mk/rte.app.mk
+
+endif