*** 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 MText.cs MDatabase.cs
5 EXAMPLE = symbol.exe plist.exe text.exe textprop.exe database.exe
6 TEST =  rearsticky.exe frontsticky.exe \
7         sensitive.exe frontsensitive.exe rearsensitive.exe
8
9 all: ${EXAMPLE} ${TEST}
10
11 M17N.dll: ${M17N_SRC}
12         $(CS) -out:$@ -t:library ${M17N_SRC}
13
14 M17NCore.dll: M17N.dll ${CORE_SRC}
15         $(CS) -out:$@ -t:library -r:M17N.dll -doc:M17NCore.xml ${CORE_SRC}
16
17 %.exe: %.cs M17NCore.dll
18         $(CS) -codepage:65001 -r:M17N.dll -r:M17NCore $<
19
20 clean:
21         rm -f *.dll *.exe
22
23 temp.exe: temp.cs
24         $(CS) temp.cs