Merge pull request #364 from neheb/patch-2
authorJens Steube <jens.steube@gmail.com>
Fri, 10 Jun 2016 21:51:04 +0000 (23:51 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jun 2016 21:51:04 +0000 (23:51 +0200)
Add cygwin support

src/Makefile

index 73cf662..b25f769 100644 (file)
@@ -13,8 +13,9 @@ PROG_NAME                := hashcat
 ##
 
 UNAME                    := $(shell uname -s)
+UNAME                   := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME))
 
-ifeq (,$(filter $(UNAME),Linux Darwin))
+ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-))
 $(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile")
 endif