home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / TOOLS / _TOOLS.TAR / usr / doc / tools-2.16 / Makefile < prev    next >
Encoding:
Makefile  |  1993-12-31  |  361 b   |  26 lines

  1.  
  2. DIRS = tools example doc
  3.  
  4. INSTALL_DIRS = tools
  5.  
  6. all:
  7.     for i in $(DIRS); do \
  8.         (cd $$i; make); \
  9.     done
  10.  
  11. clean:
  12.     rm -f *~ \#*\#
  13.     for i in $(DIRS); do \
  14.         (cd $$i; make clean); \
  15.     done
  16.  
  17. dist:    clean
  18.     (mydir=`basename \`pwd\``;\
  19.     cd ..; tar cvvf - $$mydir | gzip -9 > $${mydir}.tar.gz);
  20.  
  21.  
  22. install:
  23.     for i in $(INSTALL_DIRS); do \
  24.         (cd $$i; make install); \
  25.     done
  26.