> > (I also recall
> > that the makefiles didn't work with CygWin at one point?)
> 
> Dunno about cygwin, but on mingw they are definitely broken. IIRC on
> mingw make choke on targets containing slashes :( For scummc itself it
> mean a complete overhaul of the build system, so that's currently out
> of question. For the games I suppose we can provide an additional
> Makefile for mingw if we really can't get the current one to work.
> 
> The problem is more that I have no easy access to a win32 box and not
> much interest in it. I always hoped some mingw users would take the
> matter in their hands.

Well, they are certainly not lining up to do this. ;-) Out of curiosity,
I posted the problem on the make-win32 forums, and it turned out that it
was the missing Windows-specific ".exe" extension that made make fail to
apply the target rules. Apparently, the compiled tools are "binaries",
not "programs", so you're not allowed to leave out the extension.

After I added ".exe" to the definition of the 4 compiler variables, the
makefile worked, at least under Cygwin.

There are several solutions how to fix the download:

1. As suggested on the make-win32 forum, an extension variable could be
generated by configure, and, for example, be included in the
config.*.mak file, that the game makefiles include. Currently, an
$(EXESUF) variable gets defined by configure, but only for MinGW, and
the variable is not included in config.*.mak. Do you know how to change
that?

2. Maybe we could also make the OS-check in the game makefiles
themselves. Again, I don't know the proper way to do this.

3. As a less elegant solution, we could simply mention this issue in a
makefile comment, on the download page or in the README, and have
windows users change the files for themselves. ;-)


> > If you upload the screenshot, I can make the textual changes to the
> > Wiki, only with your consent, of course.
> 
> No problem, improvements are always welcome and I happily let the PR
> stuff to more qualified ppl :)

I made the suggested changes to the web pages and added some
cross-links. I hope the texts are more informative now, if not a little
wordy. If I find the time later, I'll maybe add a "Getting Started"
tutorial.




-- 
http://www.fastmail.fm - Does exactly what it says on the tin


_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to