Mercurial > pytave
changeset 136:e247e53ef774
build: Correctly include and depend on local header files
* Makefile.am (%.oct: %.cc): Add local header files as explicit dependencies.
Add $(DEFAULT_INCLUDES) to command line to find local header files first.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 04 Apr 2016 15:30:03 -0700 |
parents | a6f7d89e2220 |
children | e803c9927dd9 |
files | Makefile.am |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Mon Apr 04 15:16:37 2016 -0700 +++ b/Makefile.am Mon Apr 04 15:30:03 2016 -0700 @@ -17,8 +17,8 @@ all-am: py.oct -.cc.oct: - $(MKOCTFILE) $(DEFS) $(_pytave_la_CPPFLAGS) $< exceptions.cc octave_to_python.cc python_to_octave.cc -l$(BOOST_PYTHON_LIB) $(PYTHON_LIBS) -o $@ +%.oct: %.cc arrayobjectdefs.h config.h exceptions.h octave_to_python.h python_to_octave.h + $(MKOCTFILE) $(DEFS) $(DEFAULT_INCLUDES) $(_pytave_la_CPPFLAGS) $< exceptions.cc octave_to_python.cc python_to_octave.cc -l$(BOOST_PYTHON_LIB) $(PYTHON_LIBS) -o $@ CLEANFILES = *.oct