aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f6a1e6..9a75ffc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
-dispasstest: dispass.c
- gcc -lcrypto dispass.c -o dispasstest
+CFLAGS = -lcrypto -fPIC
+
+libdispass.so: dispass.o
+ $(CC) $(CFLAGS) -shared -o libdispass.so $^