From ae918a193cb57ce3dc6bfae2f4db7d340c7a1cd8 Mon Sep 17 00:00:00 2001
From: JordanHanotiaux <103147288+JordanHanotiaux@users.noreply.github.com>
Date: Sat, 12 Apr 2025 10:53:25 +0200
Subject: [PATCH] Update Makefile

---
 P2/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/P2/Makefile b/P2/Makefile
index 9cd92f6..a69e083 100644
--- a/P2/Makefile
+++ b/P2/Makefile
@@ -1,7 +1,7 @@
 CXX = mpic++
 CXXFLAGS = -std=c++17 -Wall -Wextra -O0
-TARGET = profile.cpp
-OBJ = matrix.o distributedmatrix.o profile.o globals.o
+TARGET = distributedtests
+OBJ = matrix.o distributedmatrix.o distributedtests.o mlp_sgd_distributed.o globals.o
 HEADERS = abstractmatrix.hpp matrix.hpp distributedmatrix.hpp globals.hpp
 
 all:
@@ -16,9 +16,6 @@ matrix.o: matrix.cpp matrix.hpp abstractmatrix.hpp
 distributedmatrix.o: distributedmatrix.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
 	$(CXX) $(CXXFLAGS) -c distributedmatrix.cpp
 
-profile.o: profile.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
-	$(CXX) $(CXXFLAGS) -c profile.cpp
-
 distributedtests.o: distributedtests.cpp distributedmatrix.hpp matrix.hpp abstractmatrix.hpp
 	$(CXX) $(CXXFLAGS) -c distributedtests.cpp
 
-- 
GitLab