From 5809a969a0a46bad3568cd833e0a517f9fb03f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Tue, 28 Feb 2012 16:11:22 +0100 Subject: [PATCH] Fix Makefile for cross compilation (LDFLAGS and CXXFLAGS) --- INSTALL | 3 ++- Makefile | 4 ++-- README | 2 +- README.fr | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/INSTALL b/INSTALL index 4c435bb..2b41b3e 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,7 @@ ** Dependencies for compilation (on Debian) ** -libqt4 +libqt4-dev +libqt4-sql-sqlite libofx4 g++ make diff --git a/Makefile b/Makefile index 7f76015..aae674a 100644 --- a/Makefile +++ b/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++ diff --git a/README b/README index 2410801..545878c 100644 --- a/README +++ b/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. diff --git a/README.fr b/README.fr index afa7d72..caa88e6 100644 --- a/README.fr +++ b/README.fr @@ -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.