posts:socks: Fix 'SSH tunneled' -> 'SSH-tunneled'
[blog.git] / Makefile
index 32dee291590bdc14bf5d3e2c6bf1184aab75a311..7c0aafad6dafac980a26997bb73cc453f12a516e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
 # Build everything necessary to compile the wiki.
 
-SUBDIRS = posts/drexel-thesis posts/Hooke posts/problempack posts/rel-vcs \
-       posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \
+SUBDIRS = posts/drexel-thesis posts/problempack \
+       posts/rel-vcs posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \
        posts/XSLT/chapter posts/XSLT/code
 TARGETS = all clean
 
-all :
+all : make-all
+clean : make-clean
 
-$(TARGETS) :
+$(TARGETS:%=make-%) :
        @for i in $(SUBDIRS); do \
-               echo "make $@ in $$i..."; \
-               (cd $$i; $(MAKE) $(MFLAGS) $@); done
+               echo "make ${@:make-%=%} in $$i..."; \
+               (cd $$i; $(MAKE) $(MFLAGS) ${@:make-%=%}); done