When I try to build the project I receive no rule to make target 'all'.
Well, your makefile has indeed no target "all". You should either add the target "all" to your makefile or change the target in Eclipse. Project Properties->C/C++Build go to the tab "Behavior" and change "Build (Incremental build)" from "all" to "binaries" (I guess this is the make target you are actually using).
You can put the environment variables into Eclipse. Project Properties->C/C++ Build->Environment.
Did you change the "Build (Incremental build)" from "all" to "binaries" as I advised in my last comment?
When you build the project from Eclipse it will execute then the command
. This will call your Makefile which will include make.def.