-#
-# File: makefile.vc
-# Author: Julian Smart
-# Created: 1993
-# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
-#
-# "%W% %G%"
-#
-# Makefile : Builds samples for Win95, MSVC++ 4.0
-# Use FINAL=1 argument to nmake to build final version with no debugging
-# info
-
-# Set WXDIR for your system
-WXDIR = $(WXWIN)
-
-THISDIR=$(WXDIR)\samples
-
-!include $(WXDIR)\src\makevc.env
-
-DEBUG_FLAGS="/Zi /FR"
-LINK_DEBUG_FLAGS="/RELEASE"
-
-all:
- cd $(WXDIR)\samples\splitter
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\resource
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\controls
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\listctrl
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\treectrl
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\validate
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\mdi
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\minimal
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\layout
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\printing
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\toolbar
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\dialogs
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\docview
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\docvwmdi
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\controls
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\nativdlg
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\grid
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\internat
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\dnd
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\joytest
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\taskbar
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\sashtest
- nmake -f makefile.vc FINAL=$(FINAL)
-!if "$(FINAL)" == "0"
- cd $(WXDIR)\samples\memcheck
+# =========================================================================
+# This makefile was generated by
+# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+# Do not modify, all changes will be overwritten!
+# =========================================================================
+
+
+# -------------------------------------------------------------------------
+# These are configurable options:
+# -------------------------------------------------------------------------
+
+# Build GUI libraries? [0,1]
+USE_GUI = 1
+
+# -------------------------------------------------------------------------
+# Do not modify the rest of this file!
+# -------------------------------------------------------------------------
+
+### Variables: ###
+
+
+### Conditionally set variables: ###
+
+!if "$(USE_GUI)" == "0"
+__console___depname = console
!endif
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\ownerdrw
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\checklst
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\minifram
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\bombs
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\fractal
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\wxpoem
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\typetest
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\proplist
- nmake -f makefile.vc FINAL=$(FINAL)
- cd $(WXDIR)\samples\image
- nmake -f makefile.vc FINAL=$(FINAL)
-# cd $(WXDIR)\samples\regtest
-# nmake -f makefile.vc FINAL=$(FINAL)
-
-clean:
- cd $(WXDIR)\samples\splitter
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\mdi
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\minimal
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\layout
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\printing
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\toolbar
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\dialogs
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\resource
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\listctrl
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\treectrl
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\validate
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\docview
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\docvwmdi
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\controls
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\nativdlg
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\grid
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\internat
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\checklst
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\ownerdrw
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\dnd
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\joytest
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\regtest
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\taskbar
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\sashtest
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\memcheck
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\minifram
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\bombs
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\fractal
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\wxpoem
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\typetest
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\proplist
- nmake -f makefile.vc clean
- cd $(WXDIR)\samples\image
- nmake -f makefile.vc clean
+
+### Targets: ###
+
+all: artprov $(__console___depname) dialogs image minimal
+
+artprov:
+ cd artprov
+ $(MAKE) /$(MAKEFLAGS) all
+ cd $(MAKEDIR)
+
+clean:
+ -if exist .\*.obj del .\*.obj
+ -if exist .\*.res del .\*.res
+ cd artprov
+ $(MAKE) /$(MAKEFLAGS) clean
+ cd $(MAKEDIR)
+ cd console
+ $(MAKE) /$(MAKEFLAGS) clean
+ cd $(MAKEDIR)
+ cd dialogs
+ $(MAKE) /$(MAKEFLAGS) clean
+ cd $(MAKEDIR)
+ cd image
+ $(MAKE) /$(MAKEFLAGS) clean
+ cd $(MAKEDIR)
+ cd minimal
+ $(MAKE) /$(MAKEFLAGS) clean
+ cd $(MAKEDIR)
+
+!if "$(USE_GUI)" == "0"
+console:
+ cd console
+ $(MAKE) /$(MAKEFLAGS) all
+ cd $(MAKEDIR)
+!endif
+
+dialogs:
+ cd dialogs
+ $(MAKE) /$(MAKEFLAGS) all
+ cd $(MAKEDIR)
+
+image:
+ cd image
+ $(MAKE) /$(MAKEFLAGS) all
+ cd $(MAKEDIR)
+
+install: all
+ cd artprov
+ $(MAKE) /$(MAKEFLAGS) install
+ cd $(MAKEDIR)
+ cd console
+ $(MAKE) /$(MAKEFLAGS) install
+ cd $(MAKEDIR)
+ cd dialogs
+ $(MAKE) /$(MAKEFLAGS) install
+ cd $(MAKEDIR)
+ cd image
+ $(MAKE) /$(MAKEFLAGS) install
+ cd $(MAKEDIR)
+ cd minimal
+ $(MAKE) /$(MAKEFLAGS) install
+ cd $(MAKEDIR)
+
+minimal:
+ cd minimal
+ $(MAKE) /$(MAKEFLAGS) all
+ cd $(MAKEDIR)
+
+uninstall: