> > One question: You've got a $(EXEEXT) for handling the executable > > extension on WinXX hosts, but I can't see how you set it. > > Yes, it's a place holder until either I, or someone with a > mingw/msys environment can add the needed code to get it to build. > > I suppose all that's needed might just be a simple ifdef > in the Makefile to detect windows and set that macro to ".exe", > but without a mingw test env, I couldn't test it.
I've used the following check in the past: ifeq '$(OS)' "Windows_NT" # The extension to use for executables... EXEEXT = .exe else # UNIX things to do... # The extension to use for executables... EXEEXT = endif It seems that both a DOS box and an Msys shell have the env var: OS=Windows_NT The Msys shell also seems to set: OSTYPE=msys I also see: DEVICEOS=XP (guess what platform I'm on right now) but I guess that is less portable. FWIW, the "Windows_NT" value seems to be set on XP and Vista (and I think also Win7) so presumably does not actually mean NT any more... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
