diff --git a/makefile b/makefile index 98cf0967f6271e64d5291bf8604be3c0920ffbff..d31fb0befd519bc8b4de3f88dda110bee4240e34 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