diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 14:59:16 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 01:54:15 -0800 |
commit | 896ac8d4ef3212f80887bf009d626c5becb1240a (patch) | |
tree | b354b4f49ff4ef632a364117f6559b2d47cacf27 /src/flash | |
parent | a976ce2dd4d3d6f0e851a5903494805ea60133f4 (diff) | |
download | openocd_libswd-896ac8d4ef3212f80887bf009d626c5becb1240a.tar.gz openocd_libswd-896ac8d4ef3212f80887bf009d626c5becb1240a.tar.bz2 openocd_libswd-896ac8d4ef3212f80887bf009d626c5becb1240a.tar.xz openocd_libswd-896ac8d4ef3212f80887bf009d626c5becb1240a.zip |
allow #include directives to use module name
Includes the src directory in the search path, so header files may be
migrated from:
#include "foo.h"
to
#include <module/foo.h>
which is more conducive for installation.
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/Makefile.am | 1 | ||||
-rw-r--r-- | src/flash/nand/Makefile.am | 1 | ||||
-rw-r--r-- | src/flash/nor/Makefile.am | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 54a5116e..ee322eee 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = \ nand AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/target diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index e95717e2..921b7f3d 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/flash \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index d2d99981..1be84bec 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/flash \ |