]> git.saurik.com Git - wxWidgets.git/blame - locale/Makefile
new makefile
[wxWidgets.git] / locale / Makefile
CommitLineData
efa5b5de
VZ
1# this is the makefile for generating wxstd.po message catalog file and
2# building lang.mo files from the translated lang.po catalogs
3
4# this makefile may be invoked to build either wxstd.po or any lang.mo
5
6# the programs we use (TODO: use configure to detect them)
7MSGFMT=msgfmt
8XGETTEXT=xgettext
9XARGS=xargs
10
11# implicit rules
12%.mo: %.po
13 $(MSGFMT) -o $@ $<
14
15
16wxstd.po: FORCE
17 find ../include -name "*.h" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
18 find ../src -name "*.cpp" | $(XARGS) $(XGETTEXT) -C -k_ -j -o wxstd.po
19
20# targets depending on this one will be always remade
21FORCE:
22
23# $Id$