Tom Willemse
6aa289c124
- Add ~dispasstest~ which is used to test the DisPass algorithms. - Remove =main= from libdispass since shared libraries shouldn't have main functions - Add ~dispass.h~ which defines and exports the DisPass algorithms. - Make some functions in ~dispass.c~ static to make clear they're not exported anywhere.
7 lines
187 B
Makefile
7 lines
187 B
Makefile
CFLAGS = -lcrypto -fPIC
|
|
|
|
libdispass.so: dispass.o
|
|
$(CC) $(CFLAGS) -shared -o libdispass.so $^
|
|
|
|
dispasstest: libdispass.so dispasstest.o
|
|
$(CC) -o dispasstest -L. -ldispass dispasstest.o
|