Joel Stanley | 06258a9 | 2016-05-24 17:32:23 +0930 | [diff] [blame^] | 1 | From 40b3bfd73bccd3f62c9743404e5f1d768b30cf0f Mon Sep 17 00:00:00 2001 |
| 2 | From: Patrick Williams <patrick@stwcx.xyz> |
| 3 | Date: Fri, 5 Aug 2016 18:50:57 -0500 |
| 4 | Subject: [PATCH] Makefile: Allow out-of-tree builds |
| 5 | |
| 6 | Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
| 7 | --- |
| 8 | Makefile.am | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/Makefile.am b/Makefile.am |
| 12 | index 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 | -- |
| 31 | 2.9.0 |
| 32 | |