Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ build/cluster/* build/sphere/* build/trapping/* doc/build/* src/Makefile +6 −0 Original line number Diff line number Diff line SUBDIRS := cluster sphere trapping SRCDIR=$(PWD) BUILDDIR=$(SRCDIR)/../build DOCSDIR=$(SRCDIR)/../doc all: $(SUBDIRS) docs: cd $(DOCSDIR)/src; doxygen config.dox $(SUBDIRS): $(MAKE) -C $@ Loading @@ -16,5 +20,7 @@ wipe: rm -f $(BUILDDIR)/cluster/* rm -f $(BUILDDIR)/sphere/* rm -f $(BUILDDIR)/trapping/* if [ -d $(DOCSDIR)/build/html ]; then rm -r $(DOCSDIR)/build/html; fi if [ -d $(DOCSDIR)/build/latex ]; then rm -r $(DOCSDIR)/build/latex; fi .PHONY: all $(SUBDIRS) Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ build/cluster/* build/sphere/* build/trapping/* doc/build/*
src/Makefile +6 −0 Original line number Diff line number Diff line SUBDIRS := cluster sphere trapping SRCDIR=$(PWD) BUILDDIR=$(SRCDIR)/../build DOCSDIR=$(SRCDIR)/../doc all: $(SUBDIRS) docs: cd $(DOCSDIR)/src; doxygen config.dox $(SUBDIRS): $(MAKE) -C $@ Loading @@ -16,5 +20,7 @@ wipe: rm -f $(BUILDDIR)/cluster/* rm -f $(BUILDDIR)/sphere/* rm -f $(BUILDDIR)/trapping/* if [ -d $(DOCSDIR)/build/html ]; then rm -r $(DOCSDIR)/build/html; fi if [ -d $(DOCSDIR)/build/latex ]; then rm -r $(DOCSDIR)/build/latex; fi .PHONY: all $(SUBDIRS)