Makefile Assignments are Turing-Complete « null program
Posted by jpluimers on 2017/06/01
The picture tricked me into thinking it was a Makefile for Tic-Tac-Toe, but it is in fact a 174 kilobyte makefile for Conways’ game of life which proofs that make macros are Turing complete.
Source: Makefile Assignments are Turing-Complete « null program
While running on my Mac, the recursivity will make it fail on lack of resources though.
If seen both these:
and
make[119]: /bin/sh: Resource temporarily unavailable
make[119]: *** wait: No child processes. Stop.
make[119]: *** Waiting for unfinished jobs....
make[119]: *** wait: No child processes. Stop.
–jeroen







Leave a comment