Results 1 to 2 of 2
SOLVED
hello all,
i want to define variables and use them in makefiles, submakefiles and in shellscripts called by the makefile. what is a nice way to do this?
for ...
- 06-16-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 2
using variables in shell scripts as in makefiles
SOLVED
hello all,
i want to define variables and use them in makefiles, submakefiles and in shellscripts called by the makefile. what is a nice way to do this?
for example my "master"makefile call a target with make -c ./nextdir in this directory is an additional makefile and this use the variables. this makefile calls a shellscripts and this should use the variables also. i tried export in the beginning of the master makefile but then the variables are only available in the makefiles and not in the shellscript, source seems also not working. has somebody an idea to solve this?
greetings,
michaelLast edited by devil69; 06-16-2011 at 01:34 PM.
- 06-16-2011 #2Just Joined!
- Join Date
- Jun 2011
- Posts
- 2


Reply With Quote
