1 SHAREDIR
= %APPLICATION_PATH
%\\\\share
2 IMAGEDIR
= $(SHAREDIR
)\\\\icons
3 APPIMAGEDIR
= $(IMAGEDIR
)
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
15 UILIBS
= -lgdi32
-lcomctl32
-lcomdlg32
-lpng12
-ljpeg
-lungif
-ltiff
17 ARCHIVER_LIB
= -lz
-lbz2
22 BUILD_RESOURCE_OBJECT
= yes
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