diff options
author | Tom Willemse | 2013-11-17 00:52:32 +0100 |
---|---|---|
committer | Tom Willemse | 2013-11-17 00:52:32 +0100 |
commit | 19129006d3e6507b7192d16fe10a29f3374b9df1 (patch) | |
tree | 301905290f1c19a31407fa23ab639bea09ddb6b7 | |
parent | f01619891558c46cc2de0f92174f9f1ad1b15a1a (diff) | |
download | libdispass-19129006d3e6507b7192d16fe10a29f3374b9df1.tar.gz libdispass-19129006d3e6507b7192d16fe10a29f3374b9df1.zip |
Improve Makefile, make shared library
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1 +1,2 @@ -dispasstest +*.o +*.so @@ -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 $^ |