home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / mm / mcdtemp / mcdtemp.mak < prev   
Makefile  |  1999-05-11  |  3KB  |  88 lines

  1. #===================================================================
  2. #
  3. #   MCDTEMP.MAK - Make file for OS/2 Multimedia extensions MCI Driver Template                   #
  4. #   Copyright  IBM Corporation 1992
  5. #
  6. #===================================================================
  7. #===================================================================
  8. # Include the file ibmsamp.inc which defines the various macros
  9. # depending on the target specified.
  10. #
  11. # The following macros are defined in ibmsamp.inc:
  12. #
  13. #       OBJDIR   - Directory where object files are created
  14. #       EXEDIR   - Directory where executable files are created
  15. #       RC       - Resource compiler
  16. #       RCFLAGS  - Resource compiler flags
  17. #       LINK     - Linker
  18. #       LFLAGS   - Linker flags
  19. #       MTLIBS   - Multithreaded versions of the runtime libraries
  20. #       MMLIBS   - Multimedia libraries
  21. #===================================================================
  22.  
  23. !include ..\..\ibmsamp.inc
  24.  
  25.  
  26.  
  27. HEADERS = mcdtemp.h
  28. #-------------------------------------------------------------------
  29. #
  30. #  Component specific requirements for compile flags
  31. #
  32. #-------------------------------------------------------------------
  33.  
  34. CC = $(CC) -Ge- -Sm -DINCL_32 /DINCL_NEWSH -I.
  35.  
  36. #-------------------------------------------------------------------
  37. #
  38. #   A list of all of the object files
  39. #
  40. #-------------------------------------------------------------------
  41.  
  42. OBJS = \
  43. $(OBJDIR)\mcdclose.obj \
  44. $(OBJDIR)\mcddrvrt.obj \
  45. $(OBJDIR)\mcddrvsv.obj \
  46. $(OBJDIR)\mcdfuncs.obj \
  47. $(OBJDIR)\mcdinfo.obj  \
  48. $(OBJDIR)\mcdopen.obj  \
  49. $(OBJDIR)\mcdproc.obj  \
  50. $(OBJDIR)\mcdstat.obj
  51.  
  52.  
  53. ALL_IPF =
  54.  
  55. #-------------------------------------------------------------------
  56. #   This section lists all files to be built by the make.  The
  57. #   makefile builds the executible as well as its associated help
  58. #   file.
  59. #-------------------------------------------------------------------
  60. all: $(EXEDIR)\mcdtemp.dll
  61.  
  62. #-------------------------------------------------------------------
  63. #   This section creates the command file used by the linker.  This
  64. #   command file is recreated automatically every time you change
  65. #   the object file list, linker flags, or library list.
  66. #-------------------------------------------------------------------
  67. #-------------------------------------------------------------------
  68. #   Dependencies
  69. #     This section lists all object files needed to be built for the
  70. #     application, along with the files it is dependent upon (e.g.
  71. #     its source and any header files).
  72. #-------------------------------------------------------------------
  73.  
  74. prodinfo.bmp :
  75.            copy ..\..\prodinfo.bmp $@
  76.  
  77.  
  78. $(EXEDIR)\mcdtemp.dll: $(OBJS) mcdtemp.def
  79.    -$(CREATE_PATH)
  80.    $(LINK) $@ mcdtemp.def $(MTLIBS) $(MMLIBS) @<<$(OBJDIR)\mcdtemp.lnk
  81. $(OBJS) $(COMMON_OBJS)
  82. <<
  83.  
  84. clean :
  85.         @if exist *.obj del *.obj
  86.         @if exist *.dll del *.dll
  87.         @if exist *.exe del *.exe
  88.