From 7b8e4e0fd3522a291cd41e26f716c8e017788f90 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 13 Jan 2009 13:19:15 +0000 Subject: [PATCH] Add target to build all languages. Stops on Swedish at the moment. --- xwords4/dawg/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/xwords4/dawg/Makefile b/xwords4/dawg/Makefile index 3b4533c57..bdfebd932 100644 --- a/xwords4/dawg/Makefile +++ b/xwords4/dawg/Makefile @@ -37,3 +37,16 @@ clean: dict2dawg: dict2dawg.cpp $(CXX) $< -o $@ + +PHONY: test + +test: + for f in $$(ls); do \ + test -d $$f || continue; \ + test -e $$f/Makefile || continue; \ + (cd $$f && make clean && make); \ + done \ + +help: + @echo make \# makes byod tarball + @echo make test \# builds dicts in a bunch of subdirectories