summaryrefslogtreecommitdiffstats
path: root/doc/sources/ttx/compile-c++
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sources/ttx/compile-c++')
-rwxr-xr-xdoc/sources/ttx/compile-c++8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/sources/ttx/compile-c++ b/doc/sources/ttx/compile-c++
new file mode 100755
index 0000000..86d3acb
--- /dev/null
+++ b/doc/sources/ttx/compile-c++
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+rm -f libkls_ttx.so
+
+g++ -I. -I../include -Wall -O2 -fPIC -c fmt_codec_ttx.cpp
+g++ -I. -I../include -Wall -O2 -fPIC -c ../kls_lib/fileio.cpp
+g++ -Wall -shared fileio.o fmt_codec_ttx.o -o libkls_ttx.so
+rm -f fmt_codec_ttx.o fileio.o \ No newline at end of file