wesnoth/data/tools/Makefile
Eric S. Raymond 4ef45d7482 Change report format so Emacs compilation mode can be used...
...to step through unresolved symbols.
2007-04-10 05:25:19 +00:00

23 lines
561 B
Makefile

# Recipes for various sanity checks.
#
# Hack this if our location in the Wesnoth source tree changes
TOPDIR = ../..
unresolved:
@echo "# Report on unresolved macro calls"
@macroscope --unresolved $(TOPDIR)
all:
@echo "# Report on usage of all macros and resources"
@macroscope --crossreference $(TOPDIR)
utils-unused:
@echo "# Report on unused utility macros"
@macroscope --crossreference --from data/utils --refcount 0 $(TOPDIR)
utils-macros:
@echo "# Report on usage of utility macros"
@macroscope --crossreference --from data/utils $(TOPDIR)