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

Clothes make the man.

This makes the third infraction.
the same meaning