Hi!

I checked out lastest SVN revision of Wormux, and while making I got this error:

[skipped]
make[3]: Entering directory `/home/ismael/linuxcode/wormux/src'
[skipped]
make[3]: *** No rule to make target `wormux.o', needed by `wormux'.  Stop.
make[3]: Leaving directory `/home/ismael/linuxcode/wormux/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ismael/linuxcode/wormux/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ismael/linuxcode/wormux/src'
make: *** [all-recursive] Error 1

Indeed, there's no wormux.o file, so make is looking a way to generate
it, next thing I can't seem to figure out is why Makefile.in has:

am_wormux_OBJECTS = constant.$(OBJEXT) action.$(OBJEXT) \
  [skipped lots of pointless .object files] \
  wormux.$(OBJEXT)

It turns out that in src/Makefile.am, wormix.rc and wormix.ico are
added to the sources, but the only way to process them is using
windres, which is only defined if compiling under Windows, so I moved
the wormix.rc and wormix.ico into the if WIN32 with the resulting
patch (attached).

It compiles and runs as it should (I guess) after that, at least on Linux.

Just wanted to let you know. Feel free to apply or ignore the minor patch.

BTW, I'll be taking a look at your code so you should expect some
questions from me to appear here ;)

Attachment: Makefile.am.patch
Description: Binary data

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à