well that is tthe point I don't know how since I am using Makefile.am script that looks like this :
Code:
#where is binary produced
bin_PROGRAMS = Test
Test_SOURCES = Test.cpp
AM_CPPFLAGS = -I$(top_srcdir)/src/include
AM_LDFLAGS = -lboost_program_options -lboost_filesystem -lboost_system -lboost_regex
SeqTest_CXXFLAGS=-std=c++0x
I trully don't know how to set the order
UPDATE:
Please don't hate. It is not my fault I was accidently dropped on the head as a bybe :
From the Automake manual:
PROG_LDADD is inappropriate for passing program-specific linker flags (except for -l, -L, -dlopen and -dlpreopen). So, use the PROG_LDFLAGS variable for this purpose.