xref: /dpdk/examples/helloworld/Makefile (revision 0eba4ade)
13998e2a0SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
23998e2a0SBruce Richardson# Copyright(c) 2010-2014 Intel Corporation
3af75078fSIntel
4*0eba4adeSBruce Richardson# binary name
5*0eba4adeSBruce RichardsonAPP = helloworld
6*0eba4adeSBruce Richardson
7*0eba4adeSBruce Richardson# all source are stored in SRCS-y
8*0eba4adeSBruce RichardsonSRCS-y := main.c
9*0eba4adeSBruce Richardson
10af75078fSIntelifeq ($(RTE_SDK),)
11af75078fSIntel$(error "Please define RTE_SDK environment variable")
12af75078fSIntelendif
13af75078fSIntel
1498a7ea33SJerin Jacob# Default target, can be overridden by command line or environment
15519f3227SDavid MarchandRTE_TARGET ?= x86_64-native-linuxapp-gcc
16af75078fSIntel
17af75078fSIntelinclude $(RTE_SDK)/mk/rte.vars.mk
18af75078fSIntel
19af75078fSIntelCFLAGS += -O3
20af75078fSIntelCFLAGS += $(WERROR_FLAGS)
21af75078fSIntel
22af75078fSIntelinclude $(RTE_SDK)/mk/rte.extapp.mk
23