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