I would like to build upon one of my previous threads (Link), where the original problem has changed to a new one.
I'm referring to the following lines of code:
My code is unable to run, since the existing library libmpikmeans.a and object file mpi_assign_mex.o (Linux) are not compatible with my system (Mac). Thus, they must be rebuilt-Code:mpi_kmeans_mex.$(SUFFIX): libmpikmeans mpi_kmeans_mex.o $(CC) mpi_kmeans_mex.o -shared -o mpi_kmeans_mex.$(SUFFIX) libmpikmeans.a $(MATLAB_LIB) mpi_assign_mex.$(SUFFIX): libmpikmeans mpi_assign_mex.o $(CC) mpi_assign_mex.o -shared -o mpi_assign_mex.$(SUFFIX) libmpikmeans.a $(MATLAB_LIB)
I've found a similar thread here, but I'm not sure how and where to implement this.
Additionally, how do I rebuild .o files?