Made VC++ makefiles and project files a bit more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
17
contrib/samples/mmedia/makefile.b32
Normal file
17
contrib/samples/mmedia/makefile.b32
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# File: makefile.b32
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright:
|
||||
#
|
||||
# Makefile : Builds sample for 32-bit BC++
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=mmboard
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\mmedia.lib
|
||||
OBJECTS = $(TARGET).obj mmbman.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
20
contrib/samples/mmedia/makefile.bcc
Normal file
20
contrib/samples/mmedia/makefile.bcc
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# File: makefile.bcc
|
||||
# Author: Julian Smart
|
||||
# Created: 1998
|
||||
# Updated:
|
||||
#
|
||||
# Builds a BC++ 16-bit sample
|
||||
|
||||
!if "$(WXWIN)" == ""
|
||||
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
|
||||
!endif
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=mmboard
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\mmedia.lib
|
||||
OBJECTS=$(TARGET).obj mmbman.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.bcc
|
||||
|
17
contrib/samples/mmedia/makefile.dos
Normal file
17
contrib/samples/mmedia/makefile.dos
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# File: makefile.dos
|
||||
# Author: Julian Smart
|
||||
# Created: 1998
|
||||
# Updated:
|
||||
#
|
||||
# Makefile : Builds 16-bit sample, VC++ 1.5
|
||||
# Use FINAL=1 argument to nmake to build final version with no debugging
|
||||
# info
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=minimal
|
||||
OBJECTS=$(TARGET).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.msc
|
||||
|
17
contrib/samples/mmedia/makefile.g95
Normal file
17
contrib/samples/mmedia/makefile.g95
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# File: makefile.g95
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright: (c) Julian Smart, 1999
|
||||
#
|
||||
# Makefile for wxWindows sample (Cygwin/Mingw32).
|
||||
|
||||
WXDIR = ../../..
|
||||
|
||||
TARGET=mmboard
|
||||
EXTRALIBS=-lmmedia
|
||||
OBJECTS = $(TARGET).o mmbman.o
|
||||
|
||||
include $(WXDIR)/src/makeprog.g95
|
||||
|
25
contrib/samples/mmedia/makefile.vc
Normal file
25
contrib/samples/mmedia/makefile.vc
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# File: makefile.vc
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright: (c) Julian Smart
|
||||
#
|
||||
# Makefile : Builds sample (VC++, WIN32)
|
||||
# Use FINAL=1 argument to nmake to build final version with no debug info.
|
||||
|
||||
# Set WXDIR for your system
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
PROGRAM=mmboard
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\mmediad.lib
|
||||
!else
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\mmedia.lib
|
||||
!endif
|
||||
|
||||
OBJECTS = $(PROGRAM).obj mmbman.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.vc
|
||||
|
14
contrib/samples/mmedia/makefile.wat
Normal file
14
contrib/samples/mmedia/makefile.wat
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Makefile for WATCOM
|
||||
#
|
||||
# Created by Julian Smart, January 1999
|
||||
#
|
||||
#
|
||||
|
||||
WXDIR = $(%WXWIN)
|
||||
|
||||
PROGRAM = mmboard
|
||||
OBJECTS = $(PROGRAM).obj mmbman.obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.wat
|
||||
|
@@ -219,7 +219,7 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
|
||||
// We test the Windows sound support.
|
||||
|
||||
dev = new wxSoundStreamWin();
|
||||
if (dev->GetError() == wxSOUND_NOERR)
|
||||
if (dev->GetError() == wxSOUND_NOERROR)
|
||||
caps |= MM_SOUND_WIN;
|
||||
delete dev;
|
||||
#endif
|
||||
|
@@ -18,7 +18,7 @@ PROGRAM=ogledit
|
||||
FINAL=0
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl_d.lib
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogld.lib
|
||||
!else
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
!endif
|
||||
|
@@ -18,7 +18,7 @@ PROGRAM=studio
|
||||
FINAL=0
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl_d.lib
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogld.lib
|
||||
!else
|
||||
EXTRALIBS=$(WXDIR)\contrib\lib\ogl.lib
|
||||
!endif
|
||||
|
Reference in New Issue
Block a user