How to call a new bash function within a makefile

2005-11-12 Thread OnMyWayHome
I don't have gnu.bash on my newsgroup server, so I'm posting this here. Here is an example GNU makefile: function DoThis() { echo $0 } all : DoThis "Test" I've seen this done before where a bash function is defined within a makefile, and can be subsequently called when a target is mat

How to call a new bash function within a makefile

2005-11-12 Thread OnMyWayHome
I don't have gnu.bash on my newsgroup server, so I'm posting this here. Here is an example GNU makefile: function DoThis() { echo $0 } all : DoThis "Test" I've seen this done before where a bash function is defined within a makefile, and can be subsequently called when a target is mat