f-stack/dpdk/examples/multi_process/symmetric_mp/Makefile

23 lines
532 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2010-2014 Intel Corporation
2017-04-21 10:43:26 +00:00
ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif
2020-06-18 16:55:50 +00:00
# Default target, detect a build directory, by looking for a path with a .config
RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
# binary name
APP = symmetric_mp
# all source are stored in SRCS-y
SRCS-y := main.c
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
include $(RTE_SDK)/mk/rte.extapp.mk