# $Id$ PWD=`pwd` PLATFORM=generic FLAGS=PWD=$(PWD) PLATFORM=$(PLATFORM) include Platform/$(PLATFORM).mk .PHONY: all doc clean format ./Toolkit ./Example ./Document all: ./Toolkit ./Example doc: ./Document format: clang-format -i --verbose `find . -name "*.c" -or -name "*.h"` ./Toolkit:: $(MAKE) -C $@ $(FLAGS) ./Document:: $(MAKE) -C $@ $(FLAGS) ./Example:: ./Toolkit $(MAKE) -C $@ $(FLAGS) clean: $(MAKE) -C ./Toolkit clean $(FLAGS) $(MAKE) -C ./Document clean $(FLAGS) $(MAKE) -C ./Example clean $(FLAGS)