Ubuntu Emacs Flymake configuration error (C ++ mode)

I am trying to configure fly-make on my system. But it does not work. I have a C ++ file called advancedFunctions.cpp and I have a Makefile in the directory where my .cpp file is located. My makefile contains the following:

check-syntax: g++ -o nul -S $(CHK_SOURCES) advancedFunctions: g++ -o advancedFunctions advancedFunctions.cpp 

Whenever I call flymake via Mx flymake , it gives this error:
Flymake: Configuration Error has occurred while running (make -s -C ./ CHK_SOURCES=advancedFunctions_flymake.cpp SYNTAX_CHECK_MODE=1 check-syntax). Flymake will be switched off.

What can I do about this? Tips, please.

+4
source share

All Articles