LOCATION=
ROOT=.
include $(ROOT)/settings.mk

TARGETS=docs lib bin tests dist

.PHONY: clean targets $(TARGETS)

all: targets docs

targets: $(TARGETS)
bin: lib
docs: lib documentation
tests: lib

documentation:
	doxygen doxygen-settings

$(TARGETS): 
	make -C $@

#Rule to clean up things.
clean: 
	for dir in $(TARGETS); do \
		make -C $$dir clean; \
	done

