summaryrefslogtreecommitdiffstats
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 3dbb106e87..28bdb1557a 100644
--- a/tools/net/ynl/samples/Makefile
+++ b/tools/net/ynl/samples/Makefile
@@ -18,7 +18,9 @@ include $(wildcard *.d)
all: $(BINS)
-$(BINS): ../lib/ynl.a ../generated/protos.a
+CFLAGS_page-pool=$(CFLAGS_netdev)
+
+$(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
@echo -e '\tCC sample $@'
@$(COMPILE.c) $(CFLAGS_$@) $@.c -o $@.o
@$(LINK.c) $@.o -o $@ $(LDLIBS)