2000-02-15 05:00:28 +00:00
|
|
|
#
|
|
|
|
# File: makefile.va
|
|
|
|
# Author: David Webster
|
|
|
|
# Created: 1999
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) David Webster
|
2004-11-22 20:40:22 +00:00
|
|
|
# Licence: wxWindows Licence
|
2000-02-15 05:00:28 +00: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
|
2001-03-07 18:18:18 +00:00
|
|
|
WXDIR=$(WXWIN)
|
2000-02-22 17:11:02 +00:00
|
|
|
|
|
|
|
!include $(WXDIR)\src\makeva.env
|
|
|
|
|
2001-03-07 18:18:18 +00:00
|
|
|
#
|
|
|
|
# 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
|
2000-02-15 05:00:28 +00:00
|
|
|
|
2001-03-07 18:18:18 +00:00
|
|
|
#
|
|
|
|
# Make sure output directory is available
|
|
|
|
#
|
|
|
|
!if [md $(OPATH)]
|
2000-02-22 17:11:02 +00:00
|
|
|
!endif
|
|
|
|
|
2001-03-07 18:18:18 +00:00
|
|
|
#
|
|
|
|
# Standard definitions
|
|
|
|
#
|
|
|
|
PROGRC=$(THISDIR)\$(PROGRAM).rcO
|
|
|
|
OBJECTS=$(OPATH)\$(PROGRAM).obj
|
|
|
|
PROGRES=$(OPATH)\$(PROGRAM).res
|
2002-09-04 13:39:02 +00:00
|
|
|
PROGTARGET=E:\TEMP\$(PROGRAM).exe
|
2001-03-07 18:18:18 +00:00
|
|
|
|
|
|
|
.cpp{$OPATH}.obj:
|
|
|
|
@echo $<
|
|
|
|
icc @<<
|
|
|
|
$(CPPFLAGS) /Fo$@ /Tp $<
|
|
|
|
<<
|
|
|
|
|
2000-02-15 05:00:28 +00:00
|
|
|
!include $(WXDIR)\src\makeprog.va
|
|
|
|
|