I want to compile my indri lemur application, so i've created a folder with myapp.cpp and copied Makefile.app.in from the indri root directory to myApp/Makefile.app as explained here: Write your own app
However when I run make, I get the following errors. Is this an error specific to the toolkit or is about the compiler ?
P-MacBook-Pro:myapp aneuryzma$ make -f Makefile.app
g++ @DEFS@ @CPPFLAGS@ @CXXFLAGS@ -I@includedir@ myapp.cpp -o myapp -L@libdir@ @LDFLAGS@ -lindri @LIBS@
i686-apple-darwin10-g++-4.2.1: @DEFS@: No such file or directory
i686-apple-darwin10-g++-4.2.1: @CPPFLAGS@: No such file or directory
i686-apple-darwin10-g++-4.2.1: @CXXFLAGS@: No such file or directory
i686-apple-darwin10-g++-4.2.1: myapp.cpp: No such file or directory
i686-apple-darwin10-g++-4.2.1: @LDFLAGS@: No such file or directory
i686-apple-darwin10-g++-4.2.1: @LIBS@: No such file or directory
make: *** [all] Error 1
thanks
The link states that you should copy Makefile.app, not Makefile.app.in.
You need (usually) a configure-script to build ordinary Makefiles from .in files.