2000-02-15 00:00:28 -05:00
|
|
|
#
|
|
|
|
# File: makefile.va
|
|
|
|
# Author: David Webster
|
|
|
|
# Created: 1999
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) David Webster
|
|
|
|
#
|
|
|
|
# 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 13:18:18 -05:00
|
|
|
WXDIR=$(WXWIN)
|
2000-02-22 12:11:02 -05:00
|
|
|
|
|
|
|
!include $(WXDIR)\src\makeva.env
|
|
|
|
|
2001-03-07 13:18:18 -05: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 00:00:28 -05:00
|
|
|
|
2001-03-07 13:18:18 -05:00
|
|
|
#
|
|
|
|
# Make sure output directory is available
|
|
|
|
#
|
|
|
|
!if [md $(OPATH)]
|
2000-02-22 12:11:02 -05:00
|
|
|
!endif
|
|
|
|
|
2001-03-07 13:18:18 -05:00
|
|
|
#
|
|
|
|
# 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-03-07 13:18:18 -05:00
|
|
|
|
|
|
|
.cpp{$OPATH}.obj:
|
|
|
|
@echo $<
|
|
|
|
icc @<<
|
|
|
|
$(CPPFLAGS) /Fo$@ /Tp $<
|
|
|
|
<<
|
|
|
|
|
2000-02-15 00:00:28 -05:00
|
|
|
!include $(WXDIR)\src\makeprog.va
|
|
|
|
|