I can type basename `pwd` and I get just the cwd name.
Perfect, this does almost what I need.
I only had to change the dir level (up one) in the backticks, like
... APPNAME = ${shell basename `cd .. ; pwd`} ...
Fine!
Regards & Thanks
mwa
In reply to Re^2: Getting rid of Perl in Makefiles
by mwah
in thread Getting rid of Perl in Makefiles
by mwah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |