summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/app/test-cmdline/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/app/test-cmdline/Makefile')
-rw-r--r--src/spdk/dpdk/app/test-cmdline/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/dpdk/app/test-cmdline/Makefile b/src/spdk/dpdk/app/test-cmdline/Makefile
new file mode 100644
index 000000000..3e7421906
--- /dev/null
+++ b/src/spdk/dpdk/app/test-cmdline/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