# Build playit 

# to use this makefile you need the following environment variables set
# to something similar to these:
#     setenv TOOLROOT "c:\presto\tools"
#     setenv ROOT "c:\nt\public\sdk"

LINCLUDES = -I. -Ic:\DXMedia\include -Ic:\DXMedia\classes\base \
            -I$(ROOT)\inc -I$(ROOT)\inc\crt

LCOPTS = -MDd

LCDEFS =  \
 -DINC_OLE2 -DSTRICT -D_WIN32_WINNT=0x0400 \
 -DWIN32 -D_WIN32 -MDd -D_MT -D_X86_=1 \
 -DWINVER=0x0400 -DDBG=1 -DDEBUG -D_DEBUG 

include ..\..\..\commondefs

GINCLUDES = -X # nullout the presto global includes

LIBS = \
  msvcrtd.lib \
  vfw32.lib \
  winmm.lib \
  kernel32.lib \
  advapi32.lib \
  version.lib \
  user32.lib \
  gdi32.lib \
  comctl32.lib \
  ole32.lib \
  olepro32.lib \
  oleaut32.lib \
  uuid.lib \
  quartz.lib \
  strmbase.lib

# strmbasd.lib

OBJS    = playit.obj



TARGETS = playit.exe

LDIRT = 
include ..\..\..\commonrules

default : $(TARGETS)       # Goes first so it's the default


playit.exe : $(OBJS)       # Test app!
 	$(LINK) $(LFLAGS) $(OBJS) $(LIBS) -OUT:$@

