xwords/xwords4/wince/Makefile.win

26 lines
585 B
Makefile

# -*- 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)