Fix Makefile for cross compilation (LDFLAGS and CXXFLAGS)
This commit is contained in:
parent
4addfc99d5
commit
5809a969a0
3
INSTALL
3
INSTALL
|
@ -1,6 +1,7 @@
|
|||
** Dependencies for compilation (on Debian) **
|
||||
|
||||
libqt4
|
||||
libqt4-dev
|
||||
libqt4-sql-sqlite
|
||||
libofx4
|
||||
g++
|
||||
make
|
||||
|
|
4
Makefile
4
Makefile
|
@ -5,13 +5,13 @@ DOC_DIR=$(DESTDIR)$(ROOT_DIR)"/share/doc/kisscount/"
|
|||
BIN_DIR=$(DESTDIR)$(ROOT_DIR)"/bin/"
|
||||
|
||||
QT_PACKAGES="QtCore QtGui QtSql QtXml"
|
||||
CXXFLAGS=`pkg-config --cflags $(QT_PACKAGES)`
|
||||
CXXFLAGS+=`pkg-config --cflags $(QT_PACKAGES)`
|
||||
CXXFLAGS+=-Wall -Isrc -ggdb -fPIC
|
||||
CXXFLAGS+=-DRESSOURCES_ROOT="\"$(SHARE_DIR)\""
|
||||
# For developpers
|
||||
#CXXFLAGS+=-DRESSOURCES_ROOT="\"./ressources/\""
|
||||
|
||||
LDFLAGS=`pkg-config --libs $(QT_PACKAGES)`
|
||||
LDFLAGS+=`pkg-config --libs $(QT_PACKAGES)`
|
||||
LDFLAGS+=-lofx
|
||||
|
||||
CXX=$(HOST)g++
|
||||
|
|
2
README
2
README
|
@ -2,7 +2,7 @@ KissCount is personnal account software delivered under GPL v3 licence terms.
|
|||
|
||||
Current version is 0.3
|
||||
|
||||
Qt 4 and libofx are needed
|
||||
Qt4, libqt4-sql-sqlite and libofx are needed
|
||||
|
||||
If you use web view, edit database.php and set $BDD_FILE, it's higly recommanded to use an SSL certificate.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ KissCount est un logiciel de gestion de comptes personnels délivré sous licenc
|
|||
|
||||
La version actuelle est 0.3
|
||||
|
||||
Qt4 et libofx sont nécessaires
|
||||
Qt4, libqt4-sql-sqlite et libofx sont nécessaires
|
||||
|
||||
Si vous utilisez la version web pour visualiser vos comptes, éditez d'abord le fichier database.php en positionnant correctement la variable $BDD_FILE, il est fortement recommandé d'utiliser un certificat SSL.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user