diff options
author | Janne Grunau <j@jannau.net> | 2014-08-07 00:54:21 +0200 |
---|---|---|
committer | Janne Grunau <j@jannau.net> | 2014-10-09 23:22:28 +0200 |
commit | f6828cfbc1bf24d686e6e24ce9822e69f824351d (patch) | |
tree | ec6b343450293d3778c14727a17e550a17b0383d | |
parent | d315d20d569f7da176eb7445b8c21ea055083f06 (diff) | |
download | gf-complete-f6828cfbc1bf24d686e6e24ce9822e69f824351d.tar.gz |
build: fix out of source tree build
-rw-r--r-- | examples/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | test/Makefile.am | 4 | ||||
-rw-r--r-- | tools/Makefile.am | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index fd547d2..a420bda 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,7 +1,7 @@ # GF-Complete 'examples' AM file -AM_CPPFLAGS=-I./ -I../include -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES) +AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include +AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC bin_PROGRAMS = gf_example_1 gf_example_2 gf_example_3 gf_example_4 \ gf_example_5 gf_example_6 gf_example_7 diff --git a/src/Makefile.am b/src/Makefile.am index ba3ad5e..34633ea 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,8 +1,8 @@ # GF-Complete 'core' AM file # Creates the library -AM_CPPFLAGS=-I./ -I../include -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES) +AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include +AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC lib_LTLIBRARIES = libgf_complete.la libgf_complete_la_SOURCES = gf.c gf_method.c gf_wgen.c gf_w4.c gf_w8.c gf_w16.c gf_w32.c \ diff --git a/test/Makefile.am b/test/Makefile.am index 7f39a48..2791528 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,7 +1,7 @@ # GF-Complete 'test' AM file -AM_CPPFLAGS=-I./ -I../include -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES) +AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include +AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC bin_PROGRAMS = gf_unit diff --git a/tools/Makefile.am b/tools/Makefile.am index 7c55d65..d502623 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,7 +1,7 @@ # GF-Complete 'tools' AM file -AM_CPPFLAGS=-I./ -I../include -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES) +AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include +AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC TESTS=run-tests.sh |