home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / EDITOR / MG2A_SRC.ZIP / SYS / ATARI / BUILD.G < prev    next >
Encoding:
Text File  |  1988-08-23  |  1.1 KB  |  68 lines

  1. # build file for MG using Alcyon C and the GULAM shell
  2. # execute this from the directory sys\atari 
  3. #
  4. #
  5. # First make sure that there are stubs for the include files at top level 
  6. cd ..\..  
  7. if { -e chrdef.h } == 0
  8.     echo '#include "sys\atari\chrdef.h"' > chrdef.h
  9.     endif
  10. if { -e sysdef.h } == 0
  11.     echo '#include "sys\atari\sysdef.h"' > sysdef.h
  12.     endif
  13. if { -e ttydef.h } == 0
  14.     echo '#include "sys\atari\ttydef.h"' > ttydef.h
  15.     endif
  16. if { -e varargs.h } == 0
  17.     echo '#include "sys\atari\varargs.h"' > varargs.h
  18.     endif
  19. #
  20. #
  21. # Recompile all the top-level files
  22. #
  23. cc basic
  24. cc buffer
  25. cc dir
  26. cc dired
  27. cc display
  28. cc echo
  29. cc extend
  30. cc file
  31. cc help
  32. cc kbd
  33. cc keymap
  34. cc line
  35. cc macro
  36. cc main
  37. cc match
  38. cc modes
  39. cc paragrap
  40. cc random
  41. cc re_searc
  42. cc regex
  43. cc region
  44. cc search
  45. cc version
  46. cc window
  47. cc word
  48. #
  49. #
  50. # Now do all of the system-specific ones
  51. #
  52. cd sys\atari
  53. cc alloc
  54. cc cinfo
  55. cc diredsup
  56. cc fileio
  57. cc misc
  58. cc term
  59. cc ttyio
  60. as68 -l -u -s c: gemstart.s
  61. as68 -l -u -s c: getn.s
  62. #
  63. #
  64. # Now do the link
  65. #
  66. aln -c mglink.inp
  67.