*** empty log message ***
[m17n/m17n-lib-cs.git] / Makefile
1 CS=gmcs
2
3 M17N_SRC = M17N.cs
4 CORE_SRC = MSymbol.cs MPlist.cs MCharTable.cs MText.cs MDatabase.cs
5 EXPR_SRC = MExpression.cs
6 EXAMPLE = symbol.exe plist.exe chartab.exe text.exe textprop.exe database.exe
7 TEST =  rearsticky.exe frontsticky.exe \
8         sensitive.exe frontsensitive.exe rearsensitive.exe
9
10 all: ${EXAMPLE} ${TEST}
11
12 M17N.dll: ${M17N_SRC}
13         $(CS) -out:$@ -t:library ${M17N_SRC}
14
15 M17NCore.dll: M17N.dll ${CORE_SRC}
16         $(CS) -out:$@ -t:library -r:M17N.dll ${CORE_SRC}
17
18 M17NExpr.dll: M17N.dll M17NCore.dll ${EXPR_SRC}
19         $(CS) -out:$@ -t:library -r:M17N.dll -r:M17NCore.dll ${EXPR_SRC}
20
21 %.exe: %.cs
22         $(CS) -codepage:65001 -r:M17N.dll -r:M17NCore -r:M17NExpr $<
23
24 clean:
25         rm -f *.dll *.exe
26
27 temp.exe: temp.cs
28         $(CS) temp.cs