X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=virtualjaguar.pro;h=86bfcca1c6d48469cd166f244c04c7031d4b368e;hb=7011147111e102153b62778b93d3402c158d8071;hp=11f5d6ff435d99745b77a8467df23e734f0a71c4;hpb=f30bf746981a99079e766b0d4e9de5391a4175ff;p=virtualjaguar diff --git a/virtualjaguar.pro b/virtualjaguar.pro index 11f5d6f..86bfcca 100644 --- a/virtualjaguar.pro +++ b/virtualjaguar.pro @@ -6,16 +6,16 @@ # # See the README and GPLv3 files for licensing and warranty information # -# NOTE: Musashi is built and linked in as a library, so there should be no more +# NOTE: M68000 core is built and linked in as a library, so there should be no more # 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 -CONFIG += qt warn_on release debug +CONFIG += qt warn_on release +# debug RESOURCES += virtualjaguar.qrc -#LIBS += -Lobj -ljaguarcore -lz -lmusashi LIBS += -Lobj -ljaguarcore -lz -lm68k QT += opengl @@ -32,13 +32,16 @@ else:unix { DEFINES += __GCCUNIX__ } # SDL (to link statically on Mac) macx { LIBS += `sdl-config --static-libs` } -else { LIBS += `sdl-config --libs` } +else { LIBS += `$(CROSS)sdl-config --libs` } + +# Icon on Win32 +win32 { LIBS += res/vj-ico.o } # 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` # Need to add libcdio stuffola (checking/including)...