Skip to content
Snippets Groups Projects
Commit 321a81c6 authored by KELES CEMRENUR's avatar KELES CEMRENUR
Browse files

Update makefile

parent 9518623d
Branches
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment