home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J / os42j.iso / NextDeveloper / Demos / DarkForest.app / English.lproj / CleanupScript
Text File  |  1994-04-04  |  272b  |  12 lines

  1. #!/bin/csh -f
  2. #
  3. # This script is run when you use the Clean Up 
  4. # command. By default, it runs "make clean".
  5.  
  6. set pred = "( -name Makefile -o -name makefile )"
  7. set makefiles = `find $argv $pred -print -prune`
  8.  
  9. foreach makefile ($makefiles)
  10.     cd $makefile:h; make clean
  11. end
  12.