Browse Source

build: fix out of source tree build

master
Janne Grunau 7 years ago
parent
commit
f6828cfbc1
  1. 4
      examples/Makefile.am
  2. 4
      src/Makefile.am
  3. 4
      test/Makefile.am
  4. 4
      tools/Makefile.am

4
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

4
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 \

4
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

4
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

Loading…
Cancel
Save