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 / Makefile < prev    next >
Makefile  |  1991-01-03  |  799b  |  54 lines

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