Commit 1c84328d authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Makefiles: AM_CPPFLAGS use srcdir

Add $(srcdir) to include paths in AM_CPPFLAGS so that we can
compile the program writing all targets into a directory separate
from the sources.
This is done simply by creatig a subdirectory of the project root
and running "../configure" and "make" inside it.
parent 48aec77d
......@@ -3,8 +3,8 @@
SUBDIRS = generation correlations stats clustering
AM_CPPFLAGS =\
-I. -I.. \
-I../boost-workaround \
-I$(srcdir)/.. \
-I$(srcdir)/../boost-workaround \
-DHAVE_CONFIG_H
AM_CXXFLAGS =\
......
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS =\
-I. -I.. \
-I../boost-workaround \
-I$(srcdir)/.. \
-I$(srcdir)/../../boost-workaround \
-DHAVE_CONFIG_H
AM_CFLAGS=$(AM_CXXFLAGS)
......
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS =\
-I. -I.. \
-I../../boost-workaround \
-I$(srcdir)/.. \
-I$(srcdir)/../../boost-workaround \
-DHAVE_CONFIG_H
AM_CFLAGS=$(AM_CXXFLAGS)
......
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS =\
-I. -I.. \
-I../../boost-workaround \
-I$(srcdir)/.. \
-I$(srcdir)/../../boost-workaround \
-DHAVE_CONFIG_H
AM_CXXFLAGS =\
......
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS =\
-I. -I.. \
-I../boost-workaround \
-I$(srcdir)/.. \
-I$(srcdir)/../../boost-workaround \
-DHAVE_CONFIG_H
AM_CFLAGS=$(AM_CXXFLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment