magland
4th April 2007, 18:39
How can I distinguish between windows and unix in a Makefile (not using qmake or any such thing)
if windows {do this}
if unix {do that}
Also, does anyone know if there is a #define for windows, e.g.
#ifdef WINDOWS-OR-SOMETHING
do this
#else
do that
#endif
Thanks!
if windows {do this}
if unix {do that}
Also, does anyone know if there is a #define for windows, e.g.
#ifdef WINDOWS-OR-SOMETHING
do this
#else
do that
#endif
Thanks!