X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=d4d68399e4b244b566c938bbacad617dfb90c109;hb=597dd8b153617bff1d9f8f0dea98b92e1a572d8f;hp=77316fa4e04e858100bd2370e04f51af398eb6f9;hpb=51dc47331efdef005025263ef3cdcede82dbba7e;p=m17n%2Fm17n-lib-cs.git diff --git a/Makefile b/Makefile index 77316fa..d4d6839 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,24 @@ -CORE_SRC = MSymbol.cs MText.cs +CS=gmcs -all: M17N.exe +M17N_SRC = M17N.cs +CORE_SRC = MSymbol.cs MPlist.cs MText.cs MDatabase.cs +EXAMPLE = symbol.exe plist.exe mtext.exe textprop.exe database.exe +TEST = rearsticky.exe frontsticky.exe \ + sensitive.exe frontsensitive.exe rearsensitive.exe -M17N.exe: M17N.cs M17NCore.dll - mcs /r:M17NCore M17N.cs +all: ${EXAMPLE} ${TEST} -M17NCore.dll: ${CORE_SRC} - mcs /out:$@ /t:library ${CORE_SRC} +M17N.dll: ${M17N_SRC} + $(CS) /out:$@ /t:library ${M17N_SRC} + +M17NCore.dll: M17N.dll ${CORE_SRC} + $(CS) /out:$@ /t:library /r:M17N.dll /doc:M17NCore.xml ${CORE_SRC} + +%.exe: %.cs M17NCore.dll + $(CS) -codepage:65001 /r:M17N.dll /r:M17NCore $< clean: rm -f *.dll *.exe + +temp.exe: temp.cs + $(CS) temp.cs