From 4dc750724cf2261c47407bb4cb05e5b45f6d5c33 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 21 Oct 2021 16:20:42 +0800 Subject: [PATCH] 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 --- examples/Makefile | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1