From b440fbb7d9069d7d753bcb061d434023f1a3fdcd Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Mon, 11 Dec 2023 11:47:10 +0100
Subject: [PATCH] Update build tree structure

---
 src/cluster/Makefile | 2 +-
 src/sphere/Makefile  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cluster/Makefile b/src/cluster/Makefile
index d4eb5900..694bbc0d 100644
--- a/src/cluster/Makefile
+++ b/src/cluster/Makefile
@@ -19,7 +19,7 @@ np_cluster: $(BUILDDIR)/np_cluster.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configura
 	$(CXX) $(CXXFLAGS) $(CXXLFLAGS) -o $(BUILDDIR)/np_cluster $(BUILDDIR)/np_cluster.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configuration.o $(BUILDDIR)/Parsers.o $(BUILDDIR)/sphere.o $(BUILDDIR)/cluster.o
 
 $(BUILDDIR)/np_cluster.o:
-	$(CXX) $(CXXFLAGS) -c ../np_cluster.cpp -o $(BUILDDIR)/np_cluster.o
+	$(CXX) $(CXXFLAGS) -c np_cluster.cpp -o $(BUILDDIR)/np_cluster.o
 
 $(BUILDDIR)/Commons.o:
 	$(CXX) $(CXXFLAGS) -c ../libnptm/Commons.cpp -o $(BUILDDIR)/Commons.o
diff --git a/src/sphere/Makefile b/src/sphere/Makefile
index c42d9b04..7c616b7c 100644
--- a/src/sphere/Makefile
+++ b/src/sphere/Makefile
@@ -18,7 +18,7 @@ np_sphere: $(BUILDDIR)/np_sphere.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configurati
 	$(CXX) $(CXXFLAGS) $(CXXLFLAGS) -o $(BUILDDIR)/np_sphere $(BUILDDIR)/np_sphere.o $(BUILDDIR)/Commons.o $(BUILDDIR)/Configuration.o $(BUILDDIR)/Parsers.o $(BUILDDIR)/sphere.o
 
 $(BUILDDIR)/np_sphere.o:
-	$(CXX) $(CXXFLAGS) -c ../np_sphere.cpp -o $(BUILDDIR)/np_sphere.o
+	$(CXX) $(CXXFLAGS) -c np_sphere.cpp -o $(BUILDDIR)/np_sphere.o
 
 $(BUILDDIR)/Commons.o:
 	$(CXX) $(CXXFLAGS) -c ../libnptm/Commons.cpp -o $(BUILDDIR)/Commons.o
-- 
GitLab