home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff343.lzh / SnakePit / SnakePitSrc.lzh / MakeFile < prev    next >
Makefile  |  1990-04-07  |  3KB  |  119 lines

  1. #
  2. # This is the MakeFile for MKSoft SnakePit
  3. #
  4.  
  5. #
  6. # All parts of this program
  7. #       and this MakeFile are    Copyright (c) 1988 by Michael Sinz
  8. #                    All rights reserved.
  9. #
  10.  
  11. #
  12. #                                 SnakePit
  13. #                                    by
  14. #                               Michael Sinz
  15. #
  16. #                 Copyright (c) 1988 - MKSoft Development
  17. #
  18. #************************************************************************
  19. #
  20. #    Reading legal mush can turn your brain into guacamole!
  21. #
  22. #        So here is some of that legal mush:
  23. #
  24. #Permission is hereby granted to distribute this program's source,
  25. #executable, and documentation for non-commercial purposes, so long as
  26. #the copyright notices are not removed from the sources, executable or
  27. #documentation.  This program may not be distributed for a profit
  28. #without the express written consent of the author Michael Sinz.
  29. #
  30. #This program is not in the public domain.
  31. #
  32. #Fred Fish is expressly granted permission to distribute this program's
  33. #source and executable as part of the "Fred Fish freely redistributable
  34. #Amiga software library."
  35. #
  36. #Permission is expressly granted for this program and it's source to be
  37. #distributed as part of the Amicus Amiga software disks, and the First
  38. #Amiga User Group's Hot Mix disks.
  39. #
  40. #************************************************************************
  41. #
  42. #If you have any comments or suggestions (or bug reports :-(), you can
  43. #contact MKSoft Development via
  44. #
  45. #    BIX:        "msinz"
  46. #or    USENET:        "rutgers!cbmvax!mks"
  47. #or    INTERNET:    "mks@cbmvax.commodore.com"
  48. #
  49. #or via USnail at the address below.
  50. #
  51. #If you enjoy this program, and would like to see more quality software
  52. #for the Amiga, please help "feed the programmer" For only $20 you will
  53. #get a disk with the latest and greatest of MKSoft Development.
  54. #
  55. #        MKSoft Development
  56. #        163 Appledore Drive
  57. #        Downingtown, PA 19335
  58. #
  59. #************************************************************************
  60. #
  61. #
  62.  
  63. #
  64. # These are the various compile/assemble/link macros...  This is for MANX C68K 3.6
  65. #
  66. CC = CC +x3 +x5 +D
  67. AS = AS -N -C -D
  68. LN = @LN -M +S +Cd
  69.  
  70. #
  71. # These are the objects...  MUST put Pit_Stuff.o at the front...
  72. #
  73. OBJS=    Pit_Stuff.o Snake_Stuff.o Snake_Play.o Snake_Edit.o Snake_Save.o \
  74.     Snake_Windows.o Snake_Splash.o Snake_Main.o Snake.o \
  75.     Sounds.o Snake_Sound.o
  76.  
  77. #
  78. # The 'RULES' of the make...
  79. #
  80. SnakePit: $(OBJS)
  81.     $(LN) -O SnakePit $(OBJS) -lcl
  82.     @List SnakePit
  83.  
  84. Snake.o: Snake.c Snake.h
  85.     $(CC) Snake.c
  86.  
  87. Snake_Stuff.o: Snake_Stuff.c Snake.h
  88.     $(CC) +B Snake_Stuff.c
  89.  
  90. Snake_Play.o: Snake_Play.c Snake.h
  91.     $(CC) +B Snake_Play.c
  92.  
  93. Snake_Edit.o: Snake_Edit.c Snake.h
  94.     $(CC) +B Snake_Edit.c
  95.  
  96. Snake_Save.o: Snake_Save.c Snake_Save.h Snake.h
  97.     $(CC) +B Snake_Save.c
  98.  
  99. Snake_Windows.o: Snake_Windows.c Snake_Parts.h SelectKeysImageData.h SelectLevelImageData.h HighScoresImageData.h ContinueImageData.h PauseImageData.h
  100.     $(CC) +B Snake_Windows.c
  101.  
  102. Snake_Main.o: Snake_Main.c Snake.h
  103.     $(CC) +B Snake_Main.c
  104.  
  105. Snake_Sound.o: Snake_Sound.c Snake.h
  106.     $(CC) +B Snake_Sound.c
  107.  
  108. Pit_Stuff.o: Pit_Stuff.asm Screen.asm
  109.     $(AS) -O Pit_Stuff.o Pit_Stuff.asm
  110.  
  111. Snake_Splash.o: Snake_Splash.asm
  112.     $(AS) -O Snake_Splash.o Snake_Splash.asm
  113.  
  114. Sounds.o: Sounds.asm
  115.     $(AS) -O Sounds.o Sounds.asm
  116.  
  117. ReMake: SnakePit
  118.     Touch #?.(h|c|asm)
  119.