summaryrefslogtreecommitdiff
path: root/nanomsg/Makefile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-03-04 17:50:46 +0100
committerPatrick Simianer <p@simianer.de>2015-03-04 17:50:46 +0100
commit717bead50c8b209dac3f6ac8cb2c081613850d26 (patch)
tree286b7a073670df59c55d2f9745678ac4c179c513 /nanomsg/Makefile
parentc0ece722bd7775af14c7f2ec18dcd1fd138607cb (diff)
nanomsg examples
Diffstat (limited to 'nanomsg/Makefile')
-rw-r--r--nanomsg/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/nanomsg/Makefile b/nanomsg/Makefile
new file mode 100644
index 0000000..634c8cc
--- /dev/null
+++ b/nanomsg/Makefile
@@ -0,0 +1,11 @@
+all: pipeline pipelinec pair
+
+pipeline:
+ g++ -I cppnanomsg pipeline.cc -o pipeline /usr/lib64/libnanomsg.so
+
+pipelinec: pipeline.c
+ gcc pipeline.c -o pipeline /usr/lib64/libnanomsg.so
+
+pair: pair.c
+ gcc pair.c -o pair /usr/lib64/libnanomsg.so
+