# 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 \ posts/XSLT/chapter posts/XSLT/code TARGETS = all clean SCONS_SUBDIRS = posts/Pulse_oxymetry all : make-all scons-all clean : make-clean scons-clean $(TARGETS:%=make-%) : @for i in $(SUBDIRS); do \ echo "make ${@:make-%=%} in $$i..."; \ (cd $$i; $(MAKE) $(MFLAGS) ${@:make-%=%}); done scons-all : @for i in $(SCONS_SUBDIRS); do \ echo "scons in $$i..."; \ (cd $$i; scons); done scons-clean : @for i in $(SCONS_SUBDIRS); do \ echo "scons -c in $$i..."; \ (cd $$i; scons -c); done