chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: udp-preload: Use $(CC) for link, provide clean target
[secnet.git]
/
test
/
Makefile.in
diff --git
a/test/Makefile.in
b/test/Makefile.in
index a318dec926d5e7263203f289515f81c8239a888c..0f92038c38d5520f49f43d5fc149a6b302858905 100644
(file)
--- a/
test/Makefile.in
+++ b/
test/Makefile.in
@@
-8,4
+8,8
@@
all: $(TARGETS)
CFLAGS += -D_REENTRANT -fPIC
udp-preload.so: udp-preload.o
- ld -g -shared -soname $@.1 $^ -o $@ -ldl -lc
+ $(CC) -shared -Wl,-soname,$@.1 $^ -o $@ -ldl
+
+clean:
+ $(RM) -f *.o *.so
+ $(RM) -rf tmp