makefiles: allow to skip pthread (for termux)

This commit is contained in:
Philippe Teuwen 2020-05-15 17:40:59 +02:00
commit 5984e1c03e
2 changed files with 8 additions and 2 deletions

View file

@ -3,7 +3,10 @@ MYSRCS = crypto1.c crapto1.c bucketsort.c iso14443crc.c sleep.c
MYINCLUDES = -I../../include -I../../common
MYCFLAGS =
MYDEFS =
MYLDLIBS = -lpthread
MYLDLIBS =
ifneq ($(SKIPPTHREAD),1)
MYLDLIBS += -lpthread
endif
BINS = mf_nonce_brute
INSTALLTOOLS = $(BINS)