-
+.PHONY: doc
all: build-simavr build-tests build-examples
install:
$(MAKE) -C simavr install
+doc:
+ $(MAKE) -C doc
+
clean:
$(MAKE) -C simavr clean
$(MAKE) -C tests clean
$(MAKE) -C examples clean
+ $(MAKE) -C doc clean
# You should have received a copy of the GNU General Public License
# along with simavr. If not, see <http://www.gnu.org/licenses/>.
-# you need Graphviz, ruby and exuberant ctags here.
-# this is not generated in the normal code build
+# For the callgraph, you need Graphviz, ruby and exuberant ctags.
+# The manual requires latex including additional packages (acronym, graphicx, fancyvrb, ...).
+# This is not generated in the normal code build
-all: simavr_callgraph.pdf
+.PHONY: manual
+
+all: simavr_callgraph.pdf manual
simavr_callgraph.pdf:
ctags -f .tags ../simavr/sim/sim_*.[ch] ../simavr/sim/run_*.[ch] 2>/dev/null && \
../simavr/sim/sim_*.c ../simavr/sim/run_*.c >.tags.dot && \
dot -Tpdf .tags.dot -o $@
+manual:
+ $(MAKE) -C manual
+
clean:
rm -f .tags*
+ $(MAKE) -C manual clean