Support for building samples in a port, dbg-rlse, dll-stat specifc output path

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-03-07 18:18:18 +00:00
parent b9930c63e3
commit 98de692c3a
3 changed files with 54 additions and 20 deletions

View File

@@ -9,17 +9,36 @@
# Use FINAL=1 argument to nmake to build final version with no debug info.
# Set WXDIR for your system
WXDIR = $(WXWIN)
WXUSINGDLL=0
WXDIR=$(WXWIN)
!include $(WXDIR)\src\makeva.env
PROGRAM=$D\minimal
OBJECTS = $(PROGRAM).obj
#
# Define which program this is and what it's path is and where to output to
#
PROGRAM=minimal
THISDIR=$(WXWIN)\samples\$(PROGRAM)
OPATH=$(THISDIR)\$D
!if [md $D]
#
# Make sure output directory is available
#
!if [md $(OPATH)]
!endif
#
# Standard definitions
#
PROGRC=$(THISDIR)\$(PROGRAM).rcO
OBJECTS=$(OPATH)\$(PROGRAM).obj
PROGRES=$(OPATH)\$(PROGRAM).res
PROGTARGET=$(OPATH)\$(PROGRAM).exe
.cpp{$OPATH}.obj:
@echo $<
icc @<<
$(CPPFLAGS) /Fo$@ /Tp $<
<<
!include $(WXDIR)\src\makeprog.va