Add C# P/INVOKE wrapper and client/server example
This commit is contained in:
12
examples/csharp/Makefile
Normal file
12
examples/csharp/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
debug:
|
||||
cd ../../ && make host_pinvoke_debug
|
||||
cp -f ../../lib/debug/linux-x86_64/libzt.so .
|
||||
mono-csc -out:example.exe *.cs
|
||||
|
||||
release:
|
||||
cd ../../ && make host_pinvoke_release
|
||||
cp -f ../../lib/release/linux-x86_64/libzt.so .
|
||||
mono-csc -out:example.exe *.cs
|
||||
|
||||
clean:
|
||||
rm -rf libzt.* example.exe
|
||||
Reference in New Issue
Block a user