home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / divempeg.zip / DIMPSRC.ZIP / DIMP.MAK < prev    next >
Text File  |  1995-07-10  |  993b  |  41 lines

  1. # Makefile for DIMP version 0.9
  2. # Look at the comments after *** to generate the statistical version of the
  3. # player.
  4.  
  5. # C Compiler
  6. CC            = icc
  7.  
  8. # C Compiler flags
  9. #*** Add /DANALYSIS to gather stats ***
  10. CFLAGS =        /Q+ /W3 /G4 /Ge+d-m+ /J- /Gf+ /Ss /Gi+ 
  11.  
  12. .c.obj:
  13.         $(CC) /C+ $(CFLAGS) $*.c
  14.  
  15. # Source
  16. SRCS          = dimp.c
  17.  
  18. # Object files
  19. OBJS =          $(SRCS:.c=.obj)
  20.  
  21. # Final executable
  22. dimp.exe:  dimp.res video.lib dither.lib $(OBJS) dimp.def
  23.         link386  /NOI /BATCH /NOLOGO /DE /MAP /BASE:0x10000 /ALIGN:16 \
  24.         /EXEPACK $(OBJS:.obj=),dimp.exe,, \
  25.         os2386.lib+mmpm2.lib+video.lib+dither.lib,dimp.def
  26.  
  27. #*** Add -dANALYSIS to gather stats ***
  28.        rc  dimp.res dimp.exe
  29.  
  30. # Resources
  31. dimp.res:
  32. #*** Add -dANALYSIS to gather stats ***
  33.        rc -r dimp.rc
  34.  
  35. # Import libraries
  36. #*** Replace video.def by video2.def to gather stats ***
  37. video.lib:  
  38.             implib video.lib video.def
  39.  
  40. dither.lib:  
  41.             implib dither.lib dither.def