home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / SPIDER.ZIP / Makefile < prev    next >
Makefile  |  1989-08-15  |  1KB  |  51 lines

  1. # Copyright 1989 by Norman Ramsey, Odyssey Research Associates
  2. # To be used for research purposes only
  3. # For more information, see file COPYRIGHT in the parent directory
  4.  
  5. # This is a SUN OS 4 Makefile.  Sorry.  Makefiles in subdirectories
  6. # should work under any reasonable Make.
  7.  
  8. MAKE=make $(MFLAGS)
  9. DIRECTORIES=ada awk c c++ dijkstra larch penelope ssl doc master
  10.  
  11. # Removes excess junk from the world, except it doesn't remove
  12. # common object files from ./master
  13. # This destroys the sources, so don't make clean until you've made boot.
  14. clean:
  15.     @for i in $(DIRECTORIES); do \
  16.         cd $$i; \
  17.         echo making $$i clean...; \
  18.         $(MAKE) clean ; \
  19.         cd ..; \
  20.     done
  21.     rm -f *~
  22.     @echo "All done."
  23.  
  24. # This creates the minimum sources in preparation for `make distribution'
  25. source:
  26.     cd c ; $(MAKE) source ; cd ..
  27.     cd awk ; $(MAKE) source ; cd ..
  28.  
  29. # Put everything into a tar file.  Must `make source' first, and should clean
  30. distribution:
  31. #    $(MAKE) clean
  32. #    $(MAKE) source
  33.     tar cvhf spiderweb.tar README COPYRIGHT BUGS webkernel.tex \
  34.                  Makefile $(DIRECTORIES)
  35.  
  36. # Used to bring up the system when first installing it.  Requires sources,
  37. # either from the distribution tarfile or from `make source'
  38. boot:
  39.     cd c; $(MAKE) boot; cd ..
  40.     cd awk; $(MAKE) boot; cd ..
  41.  
  42. # Make all known webs.  For lunatics only.
  43. all:
  44.     @for i in $(DIRECTORIES); do \
  45.         cd $$i; \
  46.         $(MAKE) web ; \
  47.         cd ..; \
  48.     done
  49.     @echo "All done."
  50.     
  51.