font settings
[lbook_fbreader.git] / makefiles / arch / win32.mk
blobe79b32678fb80fff2f9b4a657fab6ed876d20f49
1 SHAREDIR = %APPLICATION_PATH%\\\\share
2 IMAGEDIR = $(SHAREDIR)\\\\icons
3 APPIMAGEDIR = $(IMAGEDIR)
5 ZLSHARED = no
7 CC = i586-mingw32msvc-gcc
8 AR = i586-mingw32msvc-ar rsu
9 LD = i586-mingw32msvc-g++
10 RESOURCE_COMPILER = i586-mingw32msvc-windres
12 CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DUNICODE -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500
13 LDFLAGS = -mwindows
15 UILIBS = -lgdi32 -lcomctl32 -lcomdlg32 -lpng12 -ljpeg -lungif -ltiff
16 XML_LIB = -lexpat
17 ARCHIVER_LIB = -lz -lbz2
19 RM = rm -rvf
20 RM_QUIET = rm -rf
22 BUILD_RESOURCE_OBJECT = yes
24 .resources:
25 @echo -n "Creating resource object..."
26 @echo "ApplicationIcon ICON icons/application/win32.ico" > $(TARGET).rc
27 @echo "1 24 win32/manifest" >> $(TARGET).rc
28 @$(RESOURCE_COMPILER) $(TARGET).rc -o src/$(TARGET)_rc.o
29 @$(RM_QUIET) $(TARGET).rc
30 @echo " OK"