mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
toward building polish .dll on winders. Currently windres is crashing processing xwords4_polish.rc but French builds ok (note: untested on device.)
This commit is contained in:
parent
862698d52f
commit
2096949c16
2 changed files with 27 additions and 1 deletions
26
xwords4/wince/Makefile.win
Normal file
26
xwords4/wince/Makefile.win
Normal file
|
@ -0,0 +1,26 @@
|
|||
# -*- mode: Makefile; -*-
|
||||
#
|
||||
# Since mingw is broken on Debian for utf-8, let's see if we can build
|
||||
# the .dlls on winders using an up-to-date mingw. This Makefile will try
|
||||
# to do that. Not meant for serious use -- yet.
|
||||
|
||||
CC = mingw32-gcc.exe
|
||||
STRIP = strip
|
||||
BUILT = obj_win32_rel/built
|
||||
|
||||
DLLS = \
|
||||
$(BUILT)/xwords4_polish.dll \
|
||||
$(BUILT)/xwords4_french.dll \
|
||||
|
||||
all: $(DLLS)
|
||||
|
||||
$(BUILT)/%.rc.o: l10n/%.rc
|
||||
mkdir -p $(dir $@)
|
||||
windres -v -c 65001 -DXWFEATURE_STANDALONE_ONLY -DSVN_REV=000 $< -o $@
|
||||
|
||||
$(BUILT)/%.dll: $(BUILT)/%.rc.o
|
||||
$(CC) -shared -o $@ $<
|
||||
$(STRIP) $@
|
||||
|
||||
clean:
|
||||
rm -f $(DLLS)
|
|
@ -21,7 +21,7 @@
|
|||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
#include "winnt.h"
|
||||
//LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
LANGUAGE LANG_POLISH, SUBLANG_POLISH_POLAND
|
||||
#pragma code_page(65001)
|
||||
#endif //_WIN32
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue