OBJ = $(patsubst %.cpp, %.o, $(wildcard *.cpp))
SHLIBS = ../../x86/liblm_cryptoide_pkcs11.so 

all: $(OBJ)
	$(CXX) $^ -o pkcsdemo $(SHLIBS)
$(OBJ): %.o : %.cpp
	$(CXX) -c $< -o $@
clean:
	rm -f pkcsdemo *.o
