libdispass/Makefile
Tom Willemse 6aa289c124 Remove main from libdispass, add test executable
- 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.
2013-11-17 01:13:08 +01:00

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