%% [EMAIL PROTECTED] writes:
nh> How can I run my own executable automatically before each
nh> compilation? It supposed to be something in the same principle as
nh> "post build rule" but must be run before the compilation.
There is no way to do this with some magical make construct.
You simply have to either modify the rules in your makefiles to run this
executable, or another option is to replace your compiler with a script
that does both.
You don't give any details about your current situation and I don't know
much about Windows shells but in UNIX to do the former you could try:
CC := my-executable && $(CC)
CXX := my-executable && $(CXX)
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32