X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmulti_process%2FMakefile;h=e55204495d9b1a7fac12a20b46bb4bb930e08e26;hb=5a2b22b40f3052a8898194fd8c235440ad1d85d8;hp=5961d281eb9d356b19c3fd47d43c4cdf16e521ba;hpb=26fd4b73125ca77690f7a97423e6b031ea98835d;p=dpdk.git diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile index 5961d281eb..e55204495d 100644 --- a/examples/multi_process/Makefile +++ b/examples/multi_process/Makefile @@ -1,18 +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 -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += l2fwd_fork - -include $(RTE_SDK)/mk/rte.extsubdir.mk +$(subdirs): + $(MAKE) -C $@ $(MAKECMDGOALS)