From 321a81c6d81101d3a90799eec6579b3b4fb8ecd4 Mon Sep 17 00:00:00 2001
From: KELES CEMRENUR <cemrenur.keles@etu.unistra.fr>
Date: Sun, 24 Nov 2024 04:20:13 +0000
Subject: [PATCH] Update makefile

---
 makefile | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/makefile b/makefile
index 98cf096..d31fb0b 100644
--- a/makefile
+++ b/makefile
@@ -16,29 +16,23 @@ TEST_TARGET = test-treemap
 # Default target
 all: $(TARGET)
 	$(CC) $(CFLAGS) $(SRC) -o $(TARGET)
+
 	./$(TARGET) > whatever.vector
 	chmod +x vector2tex.sh
 	./vector2tex.sh < whatever.vector > whatever.tex
 	pdflatex whatever.tex
 
+	doxygen -g
+	doxygen Doxyfile
+
 # Build the test suite
 test: $(TEST_SRC) $(HDR)
 	$(CC) $(CFLAGS) $(TEST_SRC) $(SRC) -o $(TEST_TARGET)
 	./$(TEST_TARGET)
 
-
-doc:
-	doxygen -g
-	doxygen Doxyfile
-
-
 memcheck: $(TARGET)
 	valgrind --leak-check=full ./$(TARGET) plain.txt
-
-# Run vector2tex.sh and generate PDF
-vector2tex: $(TARGET)
 	
-
 # Clean generated files
 clean:
 	rm -f $(TARGET) $(TEST_TARGET) *.o *.tex *.pdf *.aux *.log Doxyfile
-- 
GitLab