# Copyright (C) 2011 Underground Software
#
# See the README and GPLv3 files for licensing and warranty information
#
# Copyright (C) 2011 Underground Software
#
# See the README and GPLv3 files for licensing and warranty information
#
# problems with using the qmake build system as-is. :-)
# Other than on the Mac, where it stupidly defaults to making XCode binaries. >:-(
# Well, we fixed it in the Makefile, by doing platfrom detection there. :-/
#
TARGET = virtualjaguar
# problems with using the qmake build system as-is. :-)
# Other than on the Mac, where it stupidly defaults to making XCode binaries. >:-(
# Well, we fixed it in the Makefile, by doing platfrom detection there. :-/
#
TARGET = virtualjaguar
# C/C++ flags...
# NOTE: May have to put -Wall back in, but only on non-release cycles. It can
# cause problems if you're not careful. (Can do this via command line in qmake)
# C/C++ flags...
# NOTE: May have to put -Wall back in, but only on non-release cycles. It can
# cause problems if you're not careful. (Can do this via command line in qmake)
-QMAKE_CFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
-QMAKE_CXXFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
+QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
+QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`