home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / UnixMakefile < prev   
Encoding:
Makefile  |  1989-04-13  |  655 b   |  35 lines  |  [TEXT/MPS ]

  1. # %W% %G% %U%
  2. #
  3.  
  4. SHELL=/bin/sh
  5.  
  6. all:
  7.     @-for i in [12][0-9][0-9]?; do \
  8.         if [ -f $$i/[Mm]akefile ]; then \
  9.         echo "cd $$i; make all"; \
  10.         (cd $$i; make all); \
  11.         fi; \
  12.     done
  13.  
  14. clean:
  15.     @-for i in [12][0-9][0-9]?; do \
  16.         if [ -f $$i/[Mm]akefile ]; then \
  17.         echo "cd $$i; make clean"; \
  18.         (cd $$i; make clean); \
  19.         fi; \
  20.     done
  21. clobber:
  22.     @-for i in [12][0-9][0-9]?; do \
  23.         if [ -f $$i/[Mm]akefile ]; then \
  24.         echo "cd $$i; make clobber"; \
  25.         (cd $$i; make clobber); \
  26.         fi; \
  27.     done
  28. install:
  29.     @-for i in [12][0-9][0-9]?; do \
  30.         if [ -f $$i/[Mm]akefile ]; then \
  31.         echo "cd $$i; make install"; \
  32.         (cd $$i; make install); \
  33.         fi; \
  34.     done
  35.