Work on Win32 packaging
This commit is contained in:
parent
757a7274c6
commit
8daedb25ab
6
Makefile
6
Makefile
|
@ -7,13 +7,17 @@ BIN_DIR=$(DESTDIR)$(ROOT_DIR)"/bin/"
|
|||
QT_PACKAGES="QtCore QtGui QtSql QtXml"
|
||||
CXXFLAGS+=`pkg-config --cflags $(QT_PACKAGES)`
|
||||
CXXFLAGS+=-Wall -Isrc -Isrc/win32 -ggdb -fPIC
|
||||
ifdef WIN32
|
||||
CXXFLAGS+=-DRESSOURCES_ROOT="\"./ressources/\""
|
||||
else
|
||||
CXXFLAGS+=-DRESSOURCES_ROOT="\"$(SHARE_DIR)\""
|
||||
# For developpers
|
||||
#CXXFLAGS+=-DRESSOURCES_ROOT="\"./ressources/\""
|
||||
endif
|
||||
|
||||
LDFLAGS+=`pkg-config --libs $(QT_PACKAGES)`
|
||||
ifdef WIN32
|
||||
LDFLAGS+=lib/libofx.a
|
||||
LDFLAGS+=lib/libofx.a -liconv-2 lib/libosp.a lib/libintl.a
|
||||
else
|
||||
LDFLAGS+=-lofx
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user