I have a code folder with a root directory and all of the build system (including the Makefile) located in ./build/

Whenever I try to do M-x flymake-mode for files in the root directory or other subdirectories, it says it can't find the Makefile. I tried the following elisp code, but it didn't help any:

(setq flymake-buildfile-dirs '("./build/" "../build/"))

Can anyone tell me how to get this configuration to work properly?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.