2 # Virtual Jaguar Qt project file
5 # Copyright (C) 2011 Underground Software
7 # See the README and GPLv3 files for licensing and warranty information
9 # NOTE: Musashi is built and linked in as a library, so there should be no more
10 # problems with using the qmake build system as-is. :-)
12 TARGET = virtualjaguar
13 CONFIG += qt warn_on release debug
14 RESOURCES += virtualjaguar.qrc
15 LIBS += `sdl-config --libs` -lz -Lobj -lmusashi
18 # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-)
24 # Platform specific defines
25 win32 { DEFINES += __GCCWIN32__ }
26 macx { DEFINES += __GCCUNIX__ _OSX_ }
27 unix { DEFINES += __GCCUNIX__ }
29 #CFLAGS := -MMD -Wall -Wno-switch -O2 -D$(SYSTYPE) -ffast-math -fomit-frame-pointer `sdl-config --cflags`
30 #CPPFLAGS := -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) -Wno-trigraphs \
31 # $(HAVECDIO) -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g
34 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
35 # cause problems if you're not careful.
36 QMAKE_CFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
37 QMAKE_CXXFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
39 # Need to add libcdio stuffola (checking/including)...
54 src/gui/configdialog.h \
55 src/gui/controllertab.h \
56 src/gui/filelistmodel.h \
57 src/gui/filepicker.h \
58 src/gui/filethread.h \
59 src/gui/generaltab.h \
61 src/gui/imagedelegate.h \
67 src/gui/configdialog.cpp \
68 src/gui/controllertab.cpp \
69 src/gui/filelistmodel.cpp \
70 src/gui/filepicker.cpp \
71 src/gui/filethread.cpp \
72 src/gui/generaltab.cpp \
73 src/gui/glwidget.cpp \
74 src/gui/imagedelegate.cpp \
77 # The core (soon to be made into a library of its own)