home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 499.lha / GamePortDeviceToolKit / gameport.lzh / src / DeviceToolKits / GamePort / test_proto / LMKFile next >
Text File  |  1991-01-03  |  2KB  |  94 lines

  1. #
  2. #     Makefile for GamePort Device ToolKit Test Routines.
  3. #
  4.  
  5. #
  6. #     Definitions
  7. #
  8.  
  9. CC       =  lc
  10. INCLUDES =  -i:my_include/
  11. CFLAGS   =  -DSAS $(INCLUDES) -DTESTSHARED -DTESTPROTO
  12.  
  13. LINK     =  blink
  14.  
  15. #
  16. #     Mains
  17. #
  18.  
  19. MAINS1   =  test1.sx test2.sx test3.sx test4.sx test5.sx test6.sx test7.sx
  20. MAINS2   =  test8.sx test9.sx test10.sx
  21.  
  22. MAINS    =  $(MAINS1) $(MAINS2)
  23.  
  24. #
  25. #     Objects
  26. #
  27.  
  28. OBJS1    =  test1.o test2.o test3.o test4.o test5.o test6.o test7.o
  29. OBJS2    =  test8.o test9.o test10.o
  30.  
  31. OBJS     =  $(OBJS1) $(OBJS2)
  32.  
  33. #
  34. #     Rules
  35. #
  36.  
  37. .c.o :
  38.    $(CC) $(CFLAGS) $>.c
  39.  
  40. .o.sx :
  41.    $(LINK) <WITH <
  42.       FROM LIB:c.o+$>.o
  43.       TO $>.sx
  44.       LIB :SAS/my_lib/GamePortGlue.lib
  45.       LIB:lc.lib LIB:amiga.lib
  46.       ADDSYM
  47.       MAP $>.map
  48.    <
  49.  
  50. #
  51. #     Dependancies
  52. #
  53.  
  54. Maker :                    $(MAINS) $(OBJS)
  55.  
  56. test1.sx :                 test1.o
  57. test1.o :                  test1.c
  58.  
  59. test2.sx :                 test2.o
  60. test2.o :                  test2.c
  61.  
  62. test3.sx :                 test3.o
  63. test3.o :                  test3.c
  64.  
  65. test4.sx :                 test4.o
  66. test4.o :                  test4.c
  67.  
  68. test5.sx :                 test5.o
  69. test5.o :                  test5.c
  70.  
  71. test6.sx :                 test6.o
  72. test6.o :                  test6.c
  73.  
  74. test7.sx :                 test7.o
  75. test7.o :                  test7.c
  76.  
  77. test8.sx :                 test8.o
  78. test8.o :                  test8.c
  79.  
  80. test9.sx :                 test9.o
  81. test9.o :                  test9.c
  82.  
  83. test10.sx :                test10.o
  84. test10.o :                 test10.c
  85.  
  86. cleanup :                  CLEANUP
  87. CLEANUP :
  88.    delete \#?.o
  89.    delete \#?.lnk
  90.    delete \#?.map
  91.    delete \#?.sx
  92.    delete \#?.info
  93.  
  94.