Eclipse build disregards Makefile, creates folder Default

less than 1 minute read

If you change your toolchains and save, then you will realize your makefile changes will make no effect and Eclipse will create a mysterious folder named Default, based on PWD environmental variable. This is due to a bug in Eclipse that enabled automatic makefile creation when you change toolchains.

To disable it, Go to project properties > C/C++ Build and disable “Generate Makefiles automatically”

Eclipse - Project Properties - C/C++ Build