Do in shell scripts instead, makefiles can be weird