nanox code removed.
[lbook_fbreader.git] / makefiles / arch / pocketpc.mk
blob59ea1ff4697cd4b560ebad472440718b954d4c2b
1 SHAREDIR = %APPLICATION_PATH%\\\\share
2 IMAGEDIR = $(SHAREDIR)\\\\icons
3 APPIMAGEDIR = $(IMAGEDIR)
4 FILENAMEDELIMITER = "\\\\"
5 PATHDELIMITER = ";"
6 EOLCHARS = "\\r\\n"
8 ZLSHARED = no
10 PREFIX = /usr/ppc/arm-wince-cegcc/bin/
11 CC = $(PREFIX)gcc
12 AR = $(PREFIX)ar rsu
13 LD = $(PREFIX)g++
14 RESOURCE_COMPILER = /usr/arm-wince-mingw32ce/bin/arm-wince-mingw32ce-windres
16 CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DUNICODE -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -DNOMINMAX
17 #LDFLAGS = -mwindows
19 #UILIBS = -lgdi32 -lcomctl32 -lcomdlg32 -lpng12 -ljpeg -lungif -ltiff
20 UILIBS = -lcoredll -lpng -ljpeg -lungif -ltiff
21 XML_LIB = -lexpat
22 ARCHIVER_LIB = -lz -lbz2
24 RM = rm -rvf
25 RM_QUIET = rm -rf
27 BUILD_RESOURCE_OBJECT = yes
29 .resources:
30 @echo -n "Creating resource object..."
31 @echo "ApplicationIcon ICON icons/win32/$(TARGET).ico" > $(TARGET).rc
32 @$(RESOURCE_COMPILER) $(TARGET).rc -o src/$(TARGET)_rc.o
33 @$(RM_QUIET) $(TARGET).rc
34 @echo " OK"