I recently started to take over a QT4.8 project for embedded Linux. After using qmake and .pro file to generate Makefiles in the project, it could not build properly.
The Makefile.Debug snippet causing problem is as following:
{..\GriduiWin}.cpp{debug\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
$<
<<
For << in the end, make is complaining for the missing tab at the beginning.
For @<< at the end of the second line, I couldn't figure out what is the issue here. The error message is << was unexpected at this time.
What does @<< mean in Makefile? Is this specific from qmake generated files? Or is this a reasonable syntax? How could I deal with this error? Thanks for help.
This generated Makefile turns out to be for
nmakeinstead. Errors no longer shows when compiling with Microsoft Visual Studio command line tools. Thanks to MadScientist for the hint.