From: Jeremy Kerr Date: Thu, 21 Oct 2021 08:20:42 +0000 (+0800) Subject: makefiles: use config.h in examples/ & tests/ X-Git-Tag: v1.0-rc0~71^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4dc750724cf2261c47407bb4cb05e5b45f6d5c33;p=users%2Fsagi%2Flibnvme.git makefiles: use config.h in examples/ & tests/ After the recent reverts, we now need to use the proper config.h in examples/ and tests/ too. Signed-off-by: Jeremy Kerr --- diff --git a/examples/Makefile b/examples/Makefile index db06f386..4916494d 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,5 +1,5 @@ CFLAGS ?= -g -O2 -override CFLAGS += -Wall -D_GNU_SOURCE -I ../src -L ../src -I../ccan +override CFLAGS += -Wall -D_GNU_SOURCE -I .. -I ../src -L ../src -I../ccan --include "config.h" include ../Makefile.quiet diff --git a/test/Makefile b/test/Makefile index b7fc2b8b..90e89e0b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,5 +1,5 @@ CFLAGS ?= -g -O2 -override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/ -I../ccan +override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I .. -I../src/ -I../ccan --include "config.h" include ../Makefile.quiet