1998-11-09 13:39:05 -05:00
|
|
|
#
|
|
|
|
# File: makefile.nt
|
|
|
|
# Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
|
|
|
|
# Created: 1995
|
|
|
|
# Updated:=09
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile : Builds wxSock library for Windows NT / Win95
|
|
|
|
|
|
|
|
# Change WXDIR or WXWIN to wherever wxWindows is found
|
1999-01-08 05:54:10 -05:00
|
|
|
!include <..\..\src\ntwxwin.mak>
|
1998-11-09 13:39:05 -05:00
|
|
|
|
|
|
|
WXMMEDDIR = $(WXDIR)\utils\wxmmedia
|
|
|
|
WXMMEDINC = $(WXMMEDDIR)
|
|
|
|
WXMMEDLIB = $(WXDIR)\lib\wxmmedia.lib
|
|
|
|
INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXMMEDINC)
|
|
|
|
|
|
|
|
WXLIB = $(WXDIR)\lib\wx.lib
|
|
|
|
|
|
|
|
LIBS=$(WXSOCKLIB) $(LIBS)
|
|
|
|
#LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
|
|
|
|
|
|
|
|
OBJECTS = mmdata.obj mmfile.obj sndfile.obj sndsnd.obj sndwin.obj\
|
1999-01-08 05:54:10 -05:00
|
|
|
sndwav.obj sndfrag.obj vidbase.obj
|
1998-11-09 13:39:05 -05:00
|
|
|
|
|
|
|
all: $(WXMMEDLIB)
|
|
|
|
|
|
|
|
wx:
|
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
nmake -f makefile.nt
|
|
|
|
cd $(ITSYDIR)
|
|
|
|
|
|
|
|
demo:
|
|
|
|
|
|
|
|
$(WXMMEDLIB): $(OBJECTS)
|
|
|
|
-erase $(WXSOCKLIB)
|
|
|
|
$(implib) @<<
|
|
|
|
-out:$(WXSOCKLIB)
|
|
|
|
-machine:$(CPU)
|
|
|
|
$(OBJECTS)
|
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
MMdata.obj: MMdata.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
MMfile.obj: MMfile.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
SNDfile.obj: SNDfile.$(SRCSUFF) SNDfile.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
SNDwav.obj: SNDwav.$(SRCSUFF) SNDwav.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
SNDwin.obj: SNDwin.$(SRCSUFF) SNDwin.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
SNDsnd.obj: SNDsnd.$(SRCSUFF) SNDsnd.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
SNDfrag.obj: SNDfrag.$(SRCSUFF) SNDfrag.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
1999-01-08 05:54:10 -05:00
|
|
|
VIDbase.obj: VIDbase.$(SRCSUFF) VIDbase.h
|
1998-11-09 13:39:05 -05:00
|
|
|
cl @<<
|
1999-01-08 05:54:10 -05:00
|
|
|
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
|
1998-11-09 13:39:05 -05:00
|
|
|
<<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-erase *.obj
|
|
|
|
-erase *.exe
|
|
|
|
-erase *.lib
|
|
|
|
-erase *.res
|
|
|
|
-erase *.sbr
|
|
|
|
-erase *.pdb
|