Hi,

your 'all' rule doesn't touch/create a file called 'all', but it isn't declared .PHONY 
either. See
Paul's Rule 2 (http://make.paulandlesley.org/rules.html#rule2). This may prevent make 
from doing what you want.

[Also, you repeat your filenames several times. You might consider following Paul's 
rule 4. But as long as your spelling is consistent of itself, and in sync with your 
directory structure, this is just a nuisance for you, not a consideration for make.]

Last thing that strikes me is your 'strip' command:
if [ -e $(EXE).exe ]; then strip $(EXE).exe; else strip $(EXE); fi
I'm not familiar with mingw, but if your linker may produce "$(EXE).exe" in stead of 
"$(EXE)", your make rule is again not updating the exact target of your rule, cf. Paul's Rule 2.

If the makefile still doesn't work after correcting these issues, shout again ;-)

HTH,

Johan

John David Ratliff wrote:
I have a "simple" Makefile....
--
JB Enterprises - Johan Bezem         Tel:   +49 172 5463210
Software Architect - Project Manager Fax:   +49 172 50 5463210
Realtime / Embedded Consultant       Email: [EMAIL PROTECTED]
Design - Development - Test - QA     Web:   http://www.bezem.de




_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to