home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / mpegplay.zip / MAKEFILE.OS2 < prev    next >
Text File  |  1994-02-16  |  938b  |  34 lines

  1. #
  2. # MPEG player for 32 bit OS/2
  3. #
  4.  
  5. # C Compiler
  6. CC            = icc
  7.  
  8. # C Compiler flags
  9. # Add /DANALYSIS to gather stats as you do
  10. # Add /DNONANSI_INCLUDES if headers are non-ANSI
  11. # Added /DNO_LRAND48 because no lrand48 on OS/2
  12. CFLAGS =    /DOS2 /Q+ /W3 /G4 /Ge+d-m+ /Sa /DNO_LRAND48 /J- /Gf+ /O+
  13. #CFLAGS =    /DOS2 /Q+ /W3 /G4 /Ge+d-m+ /Sa /DNO_LRAND48 /J- /Gf+ /Ti+
  14.  
  15. .c.obj:
  16.         $(CC) /C+ $(CFLAGS) $*.c
  17.  
  18. # Headers
  19. HDRS          = util.h video.h decoders.h fs2.h dither.h fs4.h
  20.  
  21. # Source
  22. SRCS          = util.c video.c parseblo.c motionve.c decoders.c \
  23.         main.c gdith.c fs2.c fs2fast.c fs4.c hybrid.c hybrider.c \
  24.         2x2.c gray.c mono.c jrevdct.c 24bit.c util32.c ordered.c \
  25.         ordered2.c mb_order.c xstub.c
  26.  
  27. # Object files
  28. OBJS =        $(SRCS:.c=.obj)
  29.  
  30. # Final executable
  31. mpegplay.exe:    $(OBJS) mpegplay.def
  32.         link386 /NOI /BATCH /NOLOGO /BASE:0x10000 /EXEPACK /ALIGN:16 \
  33.             $(OBJS:.obj=),mpegplay.exe,nul,,mpegplay.def;
  34.