]> git.droids-corp.org - dpdk.git/blobdiff - examples/multi_process/Makefile
test/spinlock: use compile atomics for lcores sync
[dpdk.git] / examples / multi_process / Makefile
index a6708b7e480b98ce540aaf1beec395f645f43749..e55204495d9b1a7fac12a20b46bb4bb930e08e26 100644 (file)
@@ -1,17 +1,10 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
+# Copyright(c) 2020 Intel Corporation
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+subdirs := client_server_mp hotplug_mp simple_mp symmetric_mp
 
-# Default target, can be overridden by command line or environment
-RTE_TARGET ?= x86_64-native-linuxapp-gcc
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += client_server_mp
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += simple_mp
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += symmetric_mp
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+       $(MAKE) -C $@ $(MAKECMDGOALS)