ACLOCAL_AMFLAGS = -I ax
SUBDIRS = src

# Ident formats the source code to conform with GNU style conventions.
indent :
	indent \
	src/*.c \
	src/controller/actions/*.c src/controller/actions/*.sqc src/controller/actions/*.h \
	src/controller/callbacks/*.c src/controller/callbacks/*.h \
	src/db/*.c src/db/*.sqc src/db/*.h \
	src/model/data/*.c src/model/data/*.sqc src/model/data/*.h \
	src/model/geometry/*.c src/model/geometry/*.h \
	src/model/state/*.c src/model/state/*.h \
	src/util/*.c src/util/*.h \
	src/util/amd_performance_monitor/*.c \
	src/util/amd_performance_monitor/*.h \
	src/view/*.c src/view/*.h

# Splint analyzes the code for security vulnerabilities and
# programming mistakes. It would be great to add a target to run
# splint here but as of Splint 3.1.2 it does not yet handle C99
# variable declarations which are used heavily in this project.  This
# is discussed at
# http://www.cs.virginia.edu/pipermail/splint-discuss/2009-March/001288.html.