You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
# File: Makefile
|
|
# Author: M. P. Hayes, UCECE
|
|
# Date: 11 Sep 2010
|
|
# Descr: Makefile for ir_uart_test3 docs
|
|
|
|
# The scripts used to make the graphs require the program dot; this
|
|
# is part of the graphviz package.
|
|
|
|
DEL = rm
|
|
|
|
all: file_dependencies.pdf module_dependencies.pdf makefile_dependencies.pdf build_dependencies.pdf callgraph.pdf
|
|
|
|
file_dependencies.pdf: files.d
|
|
../../../etc/graphdeps.py $< --out $@
|
|
|
|
module_dependencies.pdf: modules.d
|
|
../../../etc/graphdeps.py $< --modules --rotate --out $@
|
|
|
|
makefile_dependencies.pdf: ../Makefile
|
|
../../../etc/graphdeps.py $< --out $@
|
|
|
|
build_dependencies.pdf: ../Makefile
|
|
../../../etc/graphdeps.py $< --out $@ --showops
|
|
|
|
callgraph.pdf: callgraph.d
|
|
../../../etc/graphdeps.py --calls --modules $< --out $@ --showops
|
|
|
|
|
|
files.d: ../Makefile
|
|
(cd ..; ../../etc/makemake.py --relpath --files . . ../../drivers ../../drivers/avr ../../utils ../../extra --exclude system.h > doc/files.d)
|
|
|
|
|
|
modules.d: ../Makefile
|
|
(cd ..; ../../etc/makemake.py --relpath --modules . . ../../drivers ../../drivers/avr ../../utils ../../extra --exclude system > doc/modules.d)
|
|
|
|
|
|
callgraph.d: ../Makefile
|
|
(cd ..; ../../etc/makemake.py --cc="avr-gcc" --cflags="-Os -mmcu=atmega32u2" --relpath --calls . . ../../drivers ../../drivers/avr ../../utils ../../extra --exclude system.h > doc/callgraph.d)
|
|
|
|
|
|
# Clean: delete derived files.
|
|
.PHONY: clean
|
|
clean:
|
|
-$(DEL) *.d *.pdf
|
|
|