Makefile that runs w.o. changes on Cygwin & Linux: how to do "rm -f $(TARGET)"?

Karr, David david.karr@cacheflow.com
Thu Sep 6 13:36:00 GMT 2001


I have a little test application that I want to build and run without change
on Cygwin and Linux.  It almost works perfectly, except for the "clean"
target.  Is there any way to reference "thing" and have it mean "thing" on
Linux, but "thing.exe" on Cygwin?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list