diff options
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 |