tilemap isn't linked with util/panic.o so doesn't have access to panic(). Despite that, linking on OSX found panic() somewhere. (It doesn't do format argument substitution, just prints out the argument we pass as format string, then aborts.) Instead of calling panic(), print a message to stderr, delete the incomplete tile.c whose construction has failed, and exit with failure status. Linking with panic.o wouldn't handle the message and final failure but not help with the incomplete output file part, so this hasn't done that.
57 KiB
57 KiB