summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/tests/dll/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/tests/dll/Makefile')
-rw-r--r--languages/cpp/debugger/tests/dll/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/languages/cpp/debugger/tests/dll/Makefile b/languages/cpp/debugger/tests/dll/Makefile
new file mode 100644
index 00000000..b49c732d
--- /dev/null
+++ b/languages/cpp/debugger/tests/dll/Makefile
@@ -0,0 +1,8 @@
+
+all: main libhelper.so
+
+main: main.cpp
+ g++ -g -o main main.cpp -ldl
+
+libhelper.so: helper.cpp
+ g++ -g -o libhelper.so -fPIC -shared helper.cpp \ No newline at end of file