[MPlayer-dev-eng] Make a gmplayer.exe linked with -mwindows together with a mplayer.exe without it?

Zuxy Meng zuxy.meng at gmail.com
Fri Nov 9 06:10:52 CET 2007


Hi,

It's always recommended to compile the win32 gui with -mwindows which
the user must pass explicitly with --static in configure. Is it
possible that we do it in our Makefile? Something like:

gmplayer$(EXESUF): $(MPLAYER_DEPS)
       $(CC) -mwindows -o $@ $^ $(LDFLAGS_MPLAYER)

I hope somebody can point me how to do it in a clean and portable way.

--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list