]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
makefiles: use config.h in examples/ & tests/
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 21 Oct 2021 08:20:42 +0000 (16:20 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 21 Oct 2021 08:31:34 +0000 (16:31 +0800)
After the recent reverts, we now need to use the proper config.h in
examples/ and tests/ too.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
examples/Makefile
test/Makefile

index db06f38656fc9b5992b324a08fdef566b51f831d..4916494dd4dd0f4d23f7f8da41337653ed7a54e6 100644 (file)
@@ -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
 
index b7fc2b8bbdd9be1d025999eb80fb27919e6d6ae2..90e89e0b08bf03a7766a7b93440442c3ed8532a3 100644 (file)
@@ -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