blob: 898c225871260ce850b45ee6b85f470ea36a034d [file] [log] [blame]
Joel Stanley06258a92016-05-24 17:32:23 +09301From 40b3bfd73bccd3f62c9743404e5f1d768b30cf0f Mon Sep 17 00:00:00 2001
2From: Patrick Williams <patrick@stwcx.xyz>
3Date: Fri, 5 Aug 2016 18:50:57 -0500
4Subject: [PATCH] Makefile: Allow out-of-tree builds
5
6Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
7---
8 Makefile.am | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index ca01f21..eced4f6 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -1,12 +1,12 @@
16 bin_PROGRAMS = pdbg
17 lib_LIBRARIES = libpdbg.a
18
19-AM_CFLAGS = -Iccan/array_size
20+AM_CFLAGS = -I$(top_srcdir)/ccan/array_size
21
22 pdbg_SOURCES = \
23 src/main.c
24 pdbg_LDADD = libpdbg.a
25-pdbg_CFLAGS = -Ilibpdbg
26+pdbg_CFLAGS = -I$(top_srcdir)/libpdbg
27
28 libpdbg_a_SOURCES = \
29 libpdbg/adu.c \
30--
312.9.0
32