Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.