# $Id: makefile.am 3481 2014-12-17 23:39:47Z bradbell $ # ----------------------------------------------------------------------------- # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell # # CppAD is distributed under multiple licenses. This distribution is under # the terms of the # Eclipse Public License Version 1.0. # # A copy of this license is included in the COPYING file of this distribution. # Please visit http://www.coin-or.org/CppAD/ for information on other licenses. # ----------------------------------------------------------------------------- # # Copy source file so that main.o does not end up in parent directory BUILT_SOURCES = main.cpp main.cpp: cp $(srcdir)/../main.cpp main.cpp # # CppAD pusts all it's preprocessor definitions in the cppad/configure.hpp DEFS = # check_PROGRAMS = speed_double # AM_CPPFLAGS = -I$(top_srcdir) $(BOOST_INCLUDE) $(EIGEN_INCLUDE) # # BEGIN OPTIMIZE AM_CXXFLAGS = -O2 -DNDEBUG -DCPPAD_DOUBLE_SPEED $(CXX_FLAGS) # END OPTIMIZE # # BEGIN DEBUG # AM_CXXFLAGS = -g $(CXX_FLAGS) -DCPPAD_DOUBLE_SPEED # END DEBUG # LDADD = -lspeed AM_LDFLAGS = -L../src # speed_double_SOURCES = \ main.cpp \ det_lu.cpp \ det_minor.cpp \ mat_mul.cpp \ ode.cpp \ poly.cpp \ sparse_hessian.cpp \ sparse_jacobian.cpp test: check ./speed_double correct 123