2010-09-29 03:58:58 +00:00
|
|
|
#
|
|
|
|
# This file is part of SDLGamepad.
|
|
|
|
#
|
|
|
|
# SDLGamepad is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# SDLGamepad is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# Manuel Blanquett
|
|
|
|
# mail.nalla@gmail.com
|
|
|
|
#
|
|
|
|
|
2014-03-17 20:43:38 +01:00
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = sdlgamepad
|
|
|
|
DEFINES += SDLGAMEPAD_LIBRARY
|
|
|
|
|
|
|
|
include(../../openpilotgcslibrary.pri)
|
|
|
|
include(../../sdlgamepad.pri)
|
|
|
|
|
2013-10-26 22:37:13 +11:00
|
|
|
macx {
|
|
|
|
# Let the linker know where to find the frameworks
|
2014-03-17 20:43:38 +01:00
|
|
|
LIBS += -framework OpenGL -framework SDL -framework Cocoa
|
2013-10-26 22:37:13 +11:00
|
|
|
}
|
2010-09-29 03:58:58 +00:00
|
|
|
|
2014-03-17 20:43:38 +01:00
|
|
|
win32 {
|
|
|
|
LIBS += -L$(SDL_DIR)/lib
|
|
|
|
}
|
|
|
|
|
|
|
|
!mac:LIBS += -lSDL
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
sdlgamepad.cpp
|
2010-09-29 03:58:58 +00:00
|
|
|
|
2014-03-17 20:43:38 +01:00
|
|
|
HEADERS += \
|
|
|
|
sdlgamepad.h \
|
|
|
|
sdlgamepad_global.h
|
2010-09-29 03:58:58 +00:00
|
|
|
|
2014-03-17 20:43:38 +01:00
|
|
|
OTHER_FILES += \
|
|
|
|
COPYING \
|
|
|
|
README \
|
|
|
|
sdlgamepad.dox \
|
|
|
|
sdlgamepad.doc
|
2010-09-29 03:58:58 +00:00
|
|
|
|
2014-03-17 20:43:38 +01:00
|
|
|
include(copydata.pro)
|