home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / tile.lzh / tile.2 / Makefile < prev   
Encoding:
Makefile  |  1990-07-26  |  1.7 KB  |  81 lines

  1. # NAME
  2. #    Makefile - for management of the tile forth environment
  3. # SYNOPSIS
  4. #    make [option]
  5. # DESCRIPTION
  6. #    General environment coordinator for the threaded interpreter language
  7. #    environment (TILE). Allows packaging for distribution etc.
  8. # OPTIONS
  9. #       forth
  10. #        Compiles the forth compiler/interpreter.
  11. #       new
  12. #        Recompile the forth application without optimization.
  13. #       opt
  14. #        Recompile the forth application with optimization.
  15. #    kit
  16. #        Pack the available files for mailing
  17. #    tar
  18. #        Pack the available files for ftp'ing
  19. # SEE ALSO
  20. #    make(1), makekit(1), tar(1)
  21. # AUTHOR
  22. #    Copyright (c) 1990, Mikael R.K. Patel
  23. #    Computer Aided Design Laboratory (CADLAB)
  24. #    Department of Computer and Information Science
  25. #    Linkoping University
  26. #    S-581 83 LINKOPING
  27. #    SWEDEN
  28. #    Email: mip@ida.liu.se
  29. # HISTORY
  30. #    Started on:      23 May 1990
  31. #    Last updated on: 28 June 1990
  32. #
  33.  
  34. # Compile tile forth
  35. forth:
  36.     cd src ; make
  37.  
  38. # Recompile tile forth
  39. new:
  40.     cd src ; make new
  41.  
  42. # Recompile tile forth
  43. opt:
  44.     cd src ; make opt
  45.  
  46. # Packs the available source and documenation for mailing
  47. kit:
  48.     touch src/forth.o
  49.     touch bin/forth
  50.     mv src/*.o tmp
  51.     mv bin/forth tmp
  52.     makekit -ntile.kit. \
  53.         Makefile COPYING README PORTING INSTALL \
  54.         bin bin/* src src/* lib lib/* tst tst/* \
  55.         doc man man/man1 man/man3 man/man1/tile.1 \
  56.         > tile.kit.index
  57.     mv tile.kit.* shar
  58.     mv tmp/*.o src
  59.     mv tmp/forth bin
  60.     makekit -ntile.doc. \
  61.         doc/* man/man3/* \
  62.         > tile.doc.index
  63.     mv tile.doc.* shar
  64.  
  65.  
  66. # Packs the available source and documentation for ftp'ing
  67. tar:
  68.     touch src/forth.o
  69.     touch bin/forth
  70.     mv src/*.o tmp
  71.     mv bin/forth tmp
  72.     tar -cvf tile.tar \
  73.         Makefile COPYING README PORTING INSTALL \
  74.         bin src lib tst doc man
  75.     compress tile.tar
  76.     mv tile.tar.Z shar
  77.     mv tmp/*.o src
  78.     mv tmp/forth bin
  79.  
  80.  
  81.