# # Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren # # This file is part of CLIXON. # # CLIXON is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # CLIXON is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with CLIXON; see the file LICENSE. If not, see # . # prefix = @prefix@ datarootdir = @datarootdir@ docdir = @docdir@ pdflatex = @PDFLATEX@ SUBDIRS = .PHONY: clean all doc $(SUBDIRS) all: $(SUBDIRS) doc echo "Build doxygen doc: make doc" # Regular doxygen documentation doc: doxygen Doxyfile # generates html dir echo "Build doxygen graphs: make graphs" # doxygen documentation with callgraphs graphs: doxygen Doxyfile.graphs # generates html dir + call graphs (takes time) $(SUBDIRS): (cd $@; $(MAKE) $(MFLAGS) all) distclean: clean rm -rf html rm -f Makefile *~ .depend for i in $(SUBDIRS); \ do (cd $$i; $(MAKE) $(MFLAGS) $@); done clean: for i in $(SUBDIRS); \ do (cd $$i; $(MAKE) $(MFLAGS) $@); done; install: for i in $(SUBDIRS); \ do (cd $$i; $(MAKE) $(MFLAGS) $@); done; install-include: uninstall: for i in $(SUBDIRS); \ do (cd $$i; $(MAKE) $(MFLAGS) $@); done;