Is the word "make" used in the same way in the following two sentences?

To make like a deer caught in the headlights.

He made as if to punch him, but they both laughed and shook hands.
the same meaning