1999-02-09 15:40:15 +00:00
|
|
|
#
|
|
|
|
# File: makefile.dos
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1993
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile : Builds samples for Win95, MSVC++ 16-bit
|
|
|
|
# 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-26 17:05:33 +00:00
|
|
|
#
|
|
|
|
# Indicates kind of pb with samples
|
|
|
|
#
|
|
|
|
# No makefile.dos file
|
|
|
|
NOMAKE=1
|
|
|
|
# No 16 bit version
|
|
|
|
ONLY32=1
|
|
|
|
# Misc. compilation errors
|
|
|
|
COMPIL=1
|
|
|
|
|
1999-02-09 15:40:15 +00:00
|
|
|
!include $(WXDIR)\src\makemsc.env
|
|
|
|
|
1999-08-26 17:05:33 +00:00
|
|
|
#
|
|
|
|
# Please keep samples list up-to-date, in alphabetical order
|
|
|
|
#
|
1999-02-09 15:40:15 +00:00
|
|
|
all:
|
2002-03-25 23:28:07 +00:00
|
|
|
cd $(WXDIR)\samples\artprov
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\bombs
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\caret
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\checklst
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\config
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\controls
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\db
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\dde
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dialogs
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-27 11:46:55 +00:00
|
|
|
!if "$(ONLY32)"==""
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dnd
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\docview
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\docvwmdi
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\drawing
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dynamic
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\forty
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\fractal
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\grid
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\help
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\html
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\internat
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\joytest
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\layout
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\listctrl
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\mdi
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(FINAL)" == "0"
|
|
|
|
cd $(WXDIR)\samples\memcheck
|
1999-08-26 17:05:33 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\mfc
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\minifram
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\minimal
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(ONLY32)"==""
|
|
|
|
cd $(WXDIR)\samples\nativdlg
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-02-09 15:40:15 +00:00
|
|
|
!endif
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\notebook
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\oleauto
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\ownerdrw
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\png
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\printing
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\proplist
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\regtest
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\resource
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\richedit
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\sashtest
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\scroll
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\splitter
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\tab
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\taskbar
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\text
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(ONLY32)"==""
|
|
|
|
cd $(WXDIR)\samples\thread
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\toolbar
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
cd $(WXDIR)\samples\treectrl
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!if "$(COMPIL)"==""
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\typetest
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\validate
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\wizard
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\wxpoem
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(COMPIL)"==""
|
|
|
|
cd $(WXDIR)\samples\wxsocket
|
|
|
|
nmake -f makefile.dos FINAL=$(FINAL)
|
|
|
|
!endif
|
1999-02-09 15:40:15 +00:00
|
|
|
clean:
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\bombs
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\caret
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\checklst
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\config
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\controls
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\db
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dde
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dialogs
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dnd
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\docview
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\docvwmdi
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\drawing
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\dynamic
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\forty
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\fractal
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\grid
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\help
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\html
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
!endif
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\internat
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\joytest
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\layout
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\listctrl
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\mdi
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(FINAL)" == "0"
|
|
|
|
cd $(WXDIR)\samples\memcheck
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\mfc
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\minifram
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\minimal
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\nativdlg
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\notebook
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\oleauto
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
!endif
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\ownerdrw
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\png
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\printing
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\proplist
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
1999-02-09 15:40:15 +00:00
|
|
|
cd $(WXDIR)\samples\regtest
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\resource
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\richedit
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\sashtest
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\scroll
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\splitter
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\tab
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\taskbar
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\text
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\thread
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\toolbar
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\treectrl
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\typetest
|
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
cd $(WXDIR)\samples\validate
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!if "$(NOMAKE)"==""
|
|
|
|
cd $(WXDIR)\samples\wizard
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
1999-08-26 17:05:33 +00:00
|
|
|
!endif
|
|
|
|
cd $(WXDIR)\samples\wxpoem
|
|
|
|
nmake -f makefile.dos clean
|
|
|
|
cd $(WXDIR)\samples\wxsocket
|
1999-02-09 15:40:15 +00:00
|
|
|
nmake -f makefile.dos clean
|
|
|
|
|