home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 499.lha / InputDeviceToolKit / input.lzh / src / DeviceToolKits / Input / test / LMKFile next >
Encoding:
Text File  |  1991-01-05  |  1.2 KB  |  79 lines

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