diff --git a/Makefile.recurse b/Makefile.recurse new file mode 100644 index 0000000..493816c --- /dev/null +++ b/Makefile.recurse @@ -0,0 +1,32 @@ +# +# Makefile.recurse - Recursively build a few standard targets +# +# Written 2008, 2009 by Werner Almesberger +# Copyright 2008, 2009 Werner Almesberger +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# + + +.PHONY: all install uninstall clean spotless + +all: + for d in $(DIRS) $(TARGET_ONLY_DIRS); \ + do make -C $$d all || exit 1; done + +install: + for d in $(DIRS); do make -C $$d install || exit 1; done + +uninstall: + for d in $(DIRS); do make -C $$d uninstall || exit 1; done + +clean: + for d in $(DIRS) $(TARGET_ONLY_DIRS); do \ + make -C $$d clean || exit 1; done + +spotless: + for d in $(DIRS) $(TARGET_ONLY_DIRS); do \ + make -C $$d spotless || exit 1; done diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..c122b5d --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,16 @@ +# +# tools/Makefile - Build the ATSPI-specific tools +# +# Written 2010 by Werner Almesberger +# Copyright 2010 Werner Almesberger +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# + + +DIRS=atspi-id atspi-reset atspi-rssi + +include ../Makefile.recurse