|
| Re: Override external Makefile variable? [message #993572 is a reply to message #993530] |
Mon, 24 December 2012 16:23  |
Ulrich Lorenz Schlüter Messages: 2 Registered: December 2012 |
Junior Member |
|
|
Two possibilities:
First is modifying the make target.
This does the job but you do need two different make targets (in Eclipse) if you want to compile for two platforms.
Second change the declaration in the Makefile.
UNAME? = default_value_if_not_set_in_environment Now an "Environment Variable" (not a Build Variable) with the same name, set in an Eclipse "Build Configuration", overrides UNAME.
Attention! Only one of these is needed!
stackoverflow.com/questions/2826029/passing-additional-variables-from-command-line-to-make
[Updated on: Mon, 24 December 2012 16:25] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01664 seconds