aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Harley2019-02-22 16:18:23 +0000
committerTom Harley2019-02-22 16:18:23 +0000
commit17d294a063e94aaeab82f4b643d0855d5868889b (patch)
tree636a488ee1c3e6dc1b75366d8671c6be2b71979b /Makefile
parentClean up rule description files (diff)
downloadmetasol-17d294a063e94aaeab82f4b643d0855d5868889b.tar.gz
metasol-17d294a063e94aaeab82f4b643d0855d5868889b.zip

Add documentation for metasol.hpp

Adding doxygen documentation should help people understand the use for metasol.

Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cccc5c7..e0db9d4 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ SRC = metasol.cpp centre.cpp
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)
-.PHONY: default all run init-submodules
+.PHONY: default all init-submodules docs
default: all
all: $(TRGT)
@@ -22,13 +22,13 @@ init-submodules:
git submodule update
$(MAKE) -C thpool
$(MAKE) -C jsmn
- (cd docopt; cmake .) $(MAKE) -C docopt docopt_s
+ (cd docopt; cmake .) ; $(MAKE) -C docopt docopt_s
(cd solvitaire; sh build.sh)
-run: $(TRGT)
- ./$<
+docs:
+ doxygen ./Doxyfile
-include $(DEP)
clean:
- $(RM) $(TRGT) $(OBJ) $(DEP)
+ $(RM) $(TRGT) $(OBJ) $(DEP) -r docs