mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
27 lines
585 B
Text
27 lines
585 B
Text
|
# -*- 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)
|