+GIT_LOCAL := ~git/bare
+GIT_REMOTE := http://git.yukkurigames.com
+
+SUBPROJECTS := 123456789 choicecss heroik matrixcreatrix mlpccg webcart1000 labelle ogre
+
+.PHONY: all clean superclean update
+
+all: $(ICONS)
+
+$(SUBPROJECTS):
+ git clone $(firstword $(wildcard $(GIT_LOCAL)/$@.git) $(GIT_REMOTE)/$@.git)
+ $(MAKE) $@.update
+
+%.update: | %
+ cd $* && git pull
+ if [ -f $*/Makefile ]; then $(MAKE) -C $*; fi
+
+update:
+ git pull
+ $(MAKE) all $(addsuffix .update,$(SUBPROJECTS))