1998-05-21 14:22:00 +00:00
|
|
|
#
|
1999-01-24 19:13:55 +00:00
|
|
|
# File: makefile.vc
|
1998-05-21 14:22:00 +00:00
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1993
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
1999-08-27 11:46:55 +00:00
|
|
|
# Makefile : Builds samples for Win95, MSVC++ 16-bit
|
1998-05-21 14:22:00 +00:00
|
|
|
# Use FINAL=1 argument to nmake to build final version with no debugging
|
|
|
|
# info
|
|
|
|
|
|
|
|
# Set WXDIR for your system
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
|
|
|
|
THISDIR=$(WXDIR)\samples
|
|
|
|
|
1999-08-27 11:46:55 +00:00
|
|
|
#
|
|
|
|
# Indicates kind of pb with samples
|
|
|
|
#
|
|
|
|
# No makefile.vc file
|
|
|
|
NOMAKE=1
|
|
|
|
# No 16 bit version
|
|
|
|
#ONLY32=1
|
|
|
|
# Misc. compilation errors
|
|
|
|
COMPIL=1
|
|
|
|
# Need PNG
|
1999-10-25 14:28:43 +00:00
|
|
|
PNGSETUP=
|
1998-05-21 14:22:00 +00:00
|
|
|
|
1999-08-27 11:46:55 +00:00
|
|
|
!include $(WXDIR)\src\makemsc.env
|
1998-05-21 14:22:00 +00:00
|
|
|
|
1999-08-27 11:46:55 +00:00
|
|
|
#
|
|
|
|
# Please keep samples list up-to-date, in alphabetical order
|
|
|
|
#
|
1998-05-21 14:22:00 +00:00
|
|
|
all:
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\calendar
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\caret
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\checklst
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\config
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\controls
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\db
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\ipc
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dialogs
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dnd
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\docview
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\docvwmdi
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\drawing
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dynamic
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\font
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\grid
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-10-25 14:28:43 +00:00
|
|
|
cd $(WXDIR)\samples\newgrid
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\help
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!endif
|
|
|
|
!if "$(PNGSETUP)"==""
|
|
|
|
cd $(WXDIR)\samples\html
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\image
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\internat
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\joytest
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\layout
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\listctrl
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\mdi
|
1999-07-10 13:31:14 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\menu
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-01-16 22:17:13 +00:00
|
|
|
!if "$(FINAL)" == "0"
|
1998-09-08 22:27:12 +00:00
|
|
|
cd $(WXDIR)\samples\memcheck
|
1999-08-27 11:46:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-01-16 22:17:13 +00:00
|
|
|
!endif
|
1999-08-27 11:46:55 +00:00
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\mfc
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\minifram
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\minimal
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\nativdlg
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-02-06 21:25:27 +00:00
|
|
|
!if "$(COMPIL)"==""
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\dialup
|
1999-11-07 12:36:36 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-02-06 21:25:27 +00:00
|
|
|
!endif
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\notebook
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\oleauto
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\ownerdrw
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\png
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\printing
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1998-12-31 16:15:45 +00:00
|
|
|
cd $(WXDIR)\samples\proplist
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\regtest
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\resource
|
1999-06-02 14:08:08 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\richedit
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
!endif
|
2000-02-06 19:11:10 +00:00
|
|
|
cd $(WXDIR)\samples\rotate
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\sashtest
|
1999-06-02 14:08:08 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\scroll
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\scrollsub
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\splitter
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-02-06 21:25:27 +00:00
|
|
|
!if "$(COMPIL)"==""
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\tab
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-02-06 21:25:27 +00:00
|
|
|
!endif
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\taskbar
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\text
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\thread
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\toolbar
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\treectrl
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\typetest
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\validate
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\wizard
|
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\sockets
|
1999-08-27 11:46:55 +00:00
|
|
|
nmake -f makefile.vc FINAL=$(FINAL)
|
1998-05-21 14:22:00 +00:00
|
|
|
|
|
|
|
clean:
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\calendar
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\caret
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\checklst
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\config
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\controls
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\db
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\ipc
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dialogs
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dnd
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\docview
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1998-09-08 22:27:12 +00:00
|
|
|
cd $(WXDIR)\samples\docvwmdi
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\drawing
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\dynamic
|
|
|
|
nmake -f makefile.vc clean
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\font
|
|
|
|
nmake -f makefile.vc clean
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\grid
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-10-25 14:28:43 +00:00
|
|
|
cd $(WXDIR)\samples\newgrid
|
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\help
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\html
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\image
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\internat
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\joytest
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\layout
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\listctrl
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\mdi
|
1999-07-10 13:31:14 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
!if "$(FINAL)" == "0"
|
1998-05-21 14:22:00 +00:00
|
|
|
cd $(WXDIR)\samples\memcheck
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\mfc
|
|
|
|
nmake -f makefile.vc clean
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\menu
|
|
|
|
nmake -f makefile.vc clean
|
1998-12-10 22:44:09 +00:00
|
|
|
cd $(WXDIR)\samples\minifram
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\minimal
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\nativdlg
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\dialup
|
1999-11-07 12:36:36 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\notebook
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\oleauto
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\ownerdrw
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\png
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\printing
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1998-12-31 16:15:45 +00:00
|
|
|
cd $(WXDIR)\samples\proplist
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\regtest
|
1999-01-24 19:13:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\resource
|
1999-06-02 14:08:08 +00:00
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\richedit
|
|
|
|
nmake -f makefile.vc clean
|
2000-02-06 19:11:10 +00:00
|
|
|
cd $(WXDIR)\samples\rotate
|
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\sashtest
|
1999-06-02 14:08:08 +00:00
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\scroll
|
|
|
|
nmake -f makefile.vc clean
|
1999-11-07 12:36:36 +00:00
|
|
|
cd $(WXDIR)\samples\scrollsub
|
|
|
|
nmake -f makefile.vc clean
|
1999-08-27 11:46:55 +00:00
|
|
|
cd $(WXDIR)\samples\splitter
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\tab
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\taskbar
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\text
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\thread
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\toolbar
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\treectrl
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\typetest
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
cd $(WXDIR)\samples\validate
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\wizard
|
|
|
|
nmake -f makefile.vc clean
|
|
|
|
!endif
|
2000-01-10 16:56:55 +00:00
|
|
|
cd $(WXDIR)\samples\sockets
|
1999-08-27 11:46:55 +00:00
|
|
|
nmake -f makefile.vc clean
|
1998-05-21 14:22:00 +00:00
|
|
|
|