summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/fcl-base/examples/intl/Makefile
blob: 9ce89188edd029559861d7c20276f23c460f27fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Makefile to make the internationalization files for the resstr example
# Add a 2 letter code when adding a language to DEMOLANGUAGES
#

DEMOLANGUAGES=fr nl de pb ru cs

#
# No need to add after this line.
#

OBJECTS=$(addprefix restest.,$(DEMOLANGUAGES))
MOOBJECTS=$(addsuffix .mo,$(OBJECTS))

.SUFFIXES: .mo .po

%.mo: %.po
	msgfmt -o $@ $?

all: $(MOOBJECTS)