the-lambda-way / bruteforce-enigma

A tool for cracking and bruteforcing Enigma ciphers.
MIT License
20 stars 5 forks source link

build error on M1 Apple Silicon #5

Closed Smiril closed 1 year ago

Smiril commented 1 year ago

may is this machine specific or code specific?

`clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] Building build/bruteforce.o .../bin/sh: -f: command not found

real 0m0.002s user 0m0.000s sys 0m0.001s make: *** [build/bruteforce.o] Error 127`

the-lambda-way commented 1 year ago

The problem was that Macs use zsh instead of bash, and zsh's time command doesn't take any flags. As far as I know, Macs share some of the linux directory structure, so I think this will work.