summaryrefslogtreecommitdiff
path: root/tools/net/ynl/samples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/net/ynl/samples/Makefile')
-rw-r--r--tools/net/ynl/samples/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/net/ynl/samples/Makefile b/tools/net/ynl/samples/Makefile
index 714316cad45f..f2db8bb78309 100644
--- a/tools/net/ynl/samples/Makefile
+++ b/tools/net/ynl/samples/Makefile
@@ -1,8 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
+include ../Makefile.deps
+
CC=gcc
CFLAGS=-std=gnu11 -O2 -W -Wall -Wextra -Wno-unused-parameter -Wshadow \
- -I../lib/ -I../generated/
+ -I../lib/ -I../generated/ -idirafter $(UAPI_PATH)
ifeq ("$(DEBUG)","1")
CFLAGS += -g -fsanitize=address -fsanitize=leak -static-libasan
endif