X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmulti_process%2FMakefile;h=e55204495d9b1a7fac12a20b46bb4bb930e08e26;hb=d2794d6719db49ede1370d1be2d56bd96d73c418;hp=a6708b7e480b98ce540aaf1beec395f645f43749;hpb=3504db92b50414b10c4aa41d9020146eeb25078c;p=dpdk.git diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile index a6708b7e48..e55204495d 100644 --- a/examples/multi_process/Makefile +++ b/examples/multi_process/Makefile @@ -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)