projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e96999
)
Avoid -nostdlib option for CXX invocation
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 17 Dec 2008 09:09:53 +0000
(10:09 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 17 Dec 2008 09:09:53 +0000
(10:09 +0100)
example-module/Makefile
patch
|
blob
|
history
diff --git
a/example-module/Makefile
b/example-module/Makefile
index
b966052
..
8264d16
100644
(file)
--- a/
example-module/Makefile
+++ b/
example-module/Makefile
@@
-1,9
+1,13
@@
CONFIG=../../yazpp/yazpp-config
SO=metaproxy_filter_myfilter.so
+
+all: $(SO)
+
$(SO): filter_myfilter.cpp
- $(CXX) -shared -nostdlib `$(CONFIG) --cflags` -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so
+ $(CXX) -shared `$(CONFIG) --cflags` -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
clean:
- rm $(SO)
-run: $(SO)
+ rm *.so
+
+run: all
../src/metaproxy -c config.xml