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_shared / Makefile < prev    next >
Makefile  |  1991-01-05  |  625b  |  48 lines

  1. #
  2. #     Makefile for Input Device ToolKit Test Routines.
  3. #
  4.  
  5. #
  6. #     Definitions
  7. #
  8.  
  9. CC       =  cc
  10. CFLAGS   =  -DMANXV5 -DTESTSHARED
  11. OCFLAGS  =  -DMANXV5 -m0b -DTESTSHARED
  12.  
  13. LINK     =  ln
  14. LFLAGS   =
  15.  
  16. #
  17. #     Mains
  18. #
  19.  
  20. MAINS    =  test1.mx test2.mx test3.mx test4.mx test5.mx test6.mx test7.mx
  21.  
  22. #
  23. #     Objects
  24. #
  25.  
  26. OBJS     =  test1.mo test2.mo test3.mo test4.mo test5.mo test6.mo test7.mo
  27.  
  28. #
  29. #     Rules
  30. #
  31.  
  32. .c.mo :
  33.    $(CC) $(CFLAGS) $*.c -O $*.mo
  34.  
  35. .mo.mx :
  36.    $(LINK) $(LFLAGS) $*.mo -lInputGlue -lc -O $*.mx
  37.  
  38. #
  39. #     Dependancies
  40. #
  41.  
  42. Maker :                    $(OBJS) $(MAINS)
  43.  
  44. CLEANUP :
  45.    delete $(OBJS)
  46.    delete $(MAINS)
  47.  
  48.