2001-05-15 15:53:48 -04:00
|
|
|
#
|
|
|
|
# File: makefile.va
|
|
|
|
# Author: David Webster
|
|
|
|
# Created: 1999
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) David Webster
|
2004-11-22 15:40:22 -05:00
|
|
|
# Licence: wxWindows Licence
|
2001-05-15 15:53:48 -04:00
|
|
|
#
|
|
|
|
# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
|
|
|
|
# Use FINAL=1 argument to nmake to build final version with no debug info.
|
|
|
|
|
|
|
|
# Set WXDIR for your system
|
|
|
|
WXDIR=$(WXWIN)
|
|
|
|
|
|
|
|
!include $(WXDIR)\src\makeva.env
|
|
|
|
|
|
|
|
#
|
|
|
|
# Define which program this is and what it's path is and where to output to
|
|
|
|
#
|
|
|
|
PROGRAM=scroll
|
|
|
|
THISDIR=$(WXWIN)\samples\$(PROGRAM)
|
|
|
|
OPATH=$(THISDIR)\$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
|
2002-09-04 09:39:02 -04:00
|
|
|
PROGTARGET=E:\TEMP\$(PROGRAM).exe
|
2001-05-15 15:53:48 -04:00
|
|
|
|
|
|
|
.cpp{$OPATH}.obj:
|
|
|
|
@echo $<
|
|
|
|
icc @<<
|
|
|
|
$(CPPFLAGS) /Fo$@ /Tp $<
|
|
|
|
<<
|
|
|
|
|
|
|
|
!include $(WXDIR)\src\makeprog.va
|
|
|
|
|