The 8/1 """\n" pattern in the hexdump command causes the macOS version of hexdump to segfault. This pattern makes the ascii_font.c file more human readable by adding linefeeds, but is otherwise not needed to generate valid C. Removing it allows this rule to build on macOS.
Tested on macOS 12.6 and Ubuntu:
make src/tools/ascii_font.c
make bin/md2h65
./bin/md2h65
The
8/1 """\n"
pattern in thehexdump
command causes the macOS version of hexdump to segfault. This pattern makes the ascii_font.c file more human readable by adding linefeeds, but is otherwise not needed to generate valid C. Removing it allows this rule to build on macOS.Tested on macOS 12.6 and Ubuntu: