examples/performance-thread: fix build with low core count
[dpdk.git] / examples / performance-thread / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2015-2020 Intel Corporation
3
4 subdirs := l3fwd-thread pthread_shim
5
6 .PHONY: all static shared clean $(subdirs)
7 all static shared clean: $(subdirs)
8
9 ifeq ($(filter $(shell uname -m),x86_64 arm64),)
10 $(error This application is only supported for x86_64 and arm64 targets)
11 endif
12
13 $(subdirs):
14         $(MAKE) -C $@ $(MAKECMDGOALS)