diff options
author | gregory guy <[email protected]> | 2019-06-05 14:10:02 +0200 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2019-07-06 13:05:59 +0000 |
commit | 693098407fe303737f506cb5ef67e7f8209018d1 (patch) | |
tree | 213b38fb8d06c150b62456afe63e5649976235eb /src/Makefile | |
parent | 522570f0911dd6e79f3378b353552d5ea97b765f (diff) | |
download | smartcardauth-693098407fe303737f506cb5ef67e7f8209018d1.tar.gz smartcardauth-693098407fe303737f506cb5ef67e7f8209018d1.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index f0dac07..70d8383 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,10 +1,12 @@ +LDFLAGS=-ldl -lpthread -lgnutls -lcrypto -lpkcs11-helper + all: cardpincheck.o cardpincheck cardpincheck.o: cardpincheck.c - gcc cardpincheck.c -c + $(CC) cardpincheck.c -c cardpincheck: cardpincheck.o - gcc cardpincheck.o -o cardpincheck -ldl -lpthread -lgnutls -lcrypto -lpkcs11-helper + $(CC) cardpincheck.o -o cardpincheck $(LDFLAGS) clean: rm -f cardpincheck.o cardpincheck |