I added separate folder for MacOS (based on linux folder), changed main.cpp using asm clause to link assembler names to C functions as otherwise compiler didn't find proper assembler names.
Changed makefile to enable proper compilation for Mac OS X and added clean entry.
Included result object and executable files.
Tested on MacBook Pro 11,4 macOS 10.15.7 (19H2).
I added separate folder for MacOS (based on linux folder), changed main.cpp using asm clause to link assembler names to C functions as otherwise compiler didn't find proper assembler names. Changed makefile to enable proper compilation for Mac OS X and added clean entry. Included result object and executable files. Tested on MacBook Pro 11,4 macOS 10.15.7 (19H2).