Add HOSTALIASES post.
[blog.git] / Makefile
1 # Build everything necessary to compile the wiki.
2
3 SUBDIRS = posts/Abax posts/drexel-thesis posts/Hooke posts/problempack \
4         posts/rel-vcs posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \
5         posts/XSLT/chapter posts/XSLT/code
6 TARGETS = all clean
7
8 SCONS_SUBDIRS = posts/Pulse_oxymetry
9
10
11 all : make-all scons-all
12 clean : make-clean scons-clean
13
14 $(TARGETS:%=make-%) :
15         @for i in $(SUBDIRS); do \
16                 echo "make ${@:make-%=%} in $$i..."; \
17                 (cd $$i; $(MAKE) $(MFLAGS) ${@:make-%=%}); done
18
19 scons-all :
20         @for i in $(SCONS_SUBDIRS); do \
21                 echo "scons in $$i..."; \
22                 (cd $$i; scons); done
23
24 scons-clean :
25         @for i in $(SCONS_SUBDIRS); do \
26                 echo "scons -c in $$i..."; \
27                 (cd $$i; scons -c); done