2013-11-17 00:52:32 +01:00
|
|
|
CFLAGS = -lcrypto -fPIC
|
|
|
|
|
2013-11-17 01:14:22 +01:00
|
|
|
.PHONY: clean
|
|
|
|
|
2013-11-17 00:52:32 +01:00
|
|
|
libdispass.so: dispass.o
|
|
|
|
$(CC) $(CFLAGS) -shared -o libdispass.so $^
|
2013-11-17 01:08:10 +01:00
|
|
|
|
|
|
|
dispasstest: libdispass.so dispasstest.o
|
|
|
|
$(CC) -o dispasstest -L. -ldispass dispasstest.o
|
2013-11-17 01:14:22 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f dispasstest
|
|
|
|
rm -f *.so
|
|
|
|
rm -f *.o
|