Files
xdp-project-bpf-examples/AF_XDP-interaction/Makefile
Jesper Dangaard Brouer d4d325ddfc Introduce USER_TARGETS_OBJS_DEPS for extra dependencies
This USER_TARGETS_OBJS_DEPS allows makefiles to define
dependencies for USER_TARGETS_OBJS targets.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2021-10-26 16:02:25 +02:00

17 lines
395 B
Makefile

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
USER_TARGETS := af_xdp_user
BPF_TARGETS := af_xdp_kern
# Define C-code objects USER_TARGETS needs
USER_TARGETS_OBJS := common_params.o common_user_bpf_xdp.o
# The USER_TARGETS_OBJS have a dependency of this header file
USER_TARGETS_OBJS_DEPS += common_defines.h
LDLIBS += -pthread
LIB_DIR = ../lib
include $(LIB_DIR)/common.mk