New upstream version 18.02
[deb_dpdk.git] / examples / netmap_compat / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 ifeq ($(RTE_SDK),)
5 $(error "Please define RTE_SDK environment variable")
6 endif
7
8 # Default target, can be overridden by command line or environment
9 RTE_TARGET ?= x86_64-native-linuxapp-gcc
10
11 include $(RTE_SDK)/mk/rte.vars.mk
12 unexport RTE_SRCDIR RTE_OUTPUT RTE_EXTMK
13
14 DIRS-y += bridge
15
16 .PHONY: all clean $(DIRS-y)
17
18 all: $(DIRS-y)
19 clean: $(DIRS-y)
20
21 $(DIRS-y):
22         $(MAKE) -C $@ $(MAKECMDGOALS) O=$(RTE_OUTPUT)