aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 855ae7c..423c1ac 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ OBJECTS = $(SOURCES:.cxx=.o)
DEPENDENCIES= $(SOURCES:.cxx=.d)
EXECUTABLE = test
-.PHONY: all clean
+.PHONY: all clean pages
all: $(EXECUTABLE)
@@ -31,8 +31,14 @@ all: $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CXX) -o $@ $(OBJECTS) $(LDFLAGS)
-clean :
+clean:
rm $(EXECUTABLE) $(OBJECTS) $(DEPENDENCIES)
%.o: %.cxx
$(CXX) $< -o $@ $(CFLAGS)
+
+pages:
+ doxygen Doxyfile
+ mv html/* .
+ rmdir html
+