diff options
Diffstat (limited to 'doc/sources/c++/compile')
-rwxr-xr-x | doc/sources/c++/compile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/sources/c++/compile b/doc/sources/c++/compile new file mode 100755 index 0000000..64687fa --- /dev/null +++ b/doc/sources/c++/compile @@ -0,0 +1,5 @@ +#!/bin/sh + +g++ -O2 -Wall -fPIC -c triangle.cpp +g++ -shared -o triangle.so triangle.o +g++ -o test main.cpp -ldl
\ No newline at end of file |