X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=Makefile;h=7c0aafad6dafac980a26997bb73cc453f12a516e;hb=0dd1e1f1df0335e70dc78b49e76edd1bea2dad53;hp=6141a5154a91096eb7fd2275060bd1b6393e4668;hpb=577123a27512afe1ef495291b42d4f6aa08267d9;p=blog.git diff --git a/Makefile b/Makefile index 6141a51..7c0aafa 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ # Build everything necessary to compile the wiki. -SUBDIRS = posts/Abax posts/drexel-thesis posts/Hooke posts/problempack \ +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