summaryrefslogtreecommitdiffstats
path: root/mt/pthread.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mt/pthread.sh')
-rw-r--r--mt/pthread.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/mt/pthread.sh b/mt/pthread.sh
new file mode 100644
index 0000000000..7d0b6e55f5
--- /dev/null
+++ b/mt/pthread.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# build using pthreads
+#
+# http://www.mit.edu:8001/people/proven/pthreads.html
+#
+/bin/rm -f mttest
+pgcc -DPTHREADS -I../include -g mttest.c -o mttest -L.. -lssl -lcrypto
+