diff --git a/P2/Makefile b/P2/Makefile
index 20bb0c2a2bcb6325dfc027f50187f978531b6e2b..d058a23da3f801021071719b9c1d67f825f8eeba 100644
--- a/P2/Makefile
+++ b/P2/Makefile
@@ -1,7 +1,7 @@
 CXX = mpic++
 CXXFLAGS = -std=c++17 -Wall -Wextra -O0 -g
-TARGET = distributedtests
-OBJ = matrix.o distributedmatrix.o distributedtests.o mlp_sgd_distributed.o globals.o
+TARGET = profile
+OBJ = matrix.o distributedmatrix.o profile.o mlp_sgd_distributed.o globals.o
 HEADERS = abstractmatrix.hpp matrix.hpp distributedmatrix.hpp globals.hpp
 NVTX_INC = -I/usr/local/cuda/include
 NVTX_LIB = -L/usr/local/cuda/lib64 -lnvToolsExt
@@ -20,8 +20,8 @@ matrix.o: matrix.cpp matrix.hpp abstractmatrix.hpp
 distributedmatrix.o: distributedmatrix.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
 	$(CXX) $(CXXFLAGS) -c distributedmatrix.cpp
 
-distributedtests.o: distributedtests.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
-	$(CXX) $(CXXFLAGS) -c distributedtests.cpp
+profile.o: profile.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
+	$(CXX) $(CXXFLAGS) -c profile.cpp
 
 mlp_sgd_distributed.o: mlp_sgd_distributed.cpp globals.hpp abstractmatrix.hpp matrix.hpp distributedmatrix.hpp
 	$(CXX) $(CXXFLAGS) -c mlp_sgd_distributed.cpp