summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4ff2901
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+LIB_SRCS = utils.c sock_events.c libc_overrides.c
+
+
+default: libudtrace.so
+
+libudtrace.so: $(LIB_SRCS)
+ $(CC) $(CFLAGS) -fPIC -shared -Wl,-soname,libudtrace.so -o $@ $^ -ldl
+
+clean:
+ rm -f *.o libudtrace.so
personal git repositories of Harald Welte. Your mileage may vary