-#
-# File: makefile.wat
-# Author: Julian Smart
-# Created: 1993
-# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
-#
-# "%W% %G%"
-#
-# Makefile : Builds samples for windows with Watcom
-# Use FINAL=1 argument to wmake to build final version with no debugging
-# info
-
-# Set WXDIR for your system
-WXDIR = $(%WXWIN)
-
-THISDIR=$(WXDIR)\samples\html
-
-!include $(WXDIR)\src\makewat.env
-
-all:
- cd $(WXDIR)\samples\html\about
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\help
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\helpview
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\printing
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\test
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\virtual
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\widget
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
- cd $(WXDIR)\samples\html\zip
- wmake -f makefile.wat FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
-
-clean:
- cd $(WXDIR)\samples\html\about
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\help
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\helpview
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\printing
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\test
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\virtual
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\widget
- wmake -f makefile.wat clean
- cd $(WXDIR)\samples\html\zip
- wmake -f makefile.wat clean
+# =========================================================================
+# This makefile was generated by
+# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+# Do not modify, all changes will be overwritten!
+# =========================================================================
+!include ../../build/msw/config.wat
+
+# -------------------------------------------------------------------------
+# Do not modify the rest of this file!
+# -------------------------------------------------------------------------
+
+# Speed up compilation a bit:
+!ifdef __LOADDLL__
+! loaddll wcc wccd
+! loaddll wccaxp wccdaxp
+! loaddll wcc386 wccd386
+! loaddll wpp wppdi86
+! loaddll wppaxp wppdaxp
+! loaddll wpp386 wppd386
+! loaddll wlink wlink
+! loaddll wlib wlibd
+!endif
+
+# We need these variables in some bakefile-made rules:
+WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
+
+### Conditionally set variables: ###
+
+
+### Variables: ###
+
+
+MAKEARGS =
+
+
+### Targets: ###
+
+all : .SYMBOLIC about help helpview printing test virtual widget zip
+
+about : .SYMBOLIC
+ cd about
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+clean : .SYMBOLIC
+ -if exist .\*.obj del .\*.obj
+ -if exist .\*.res del .\*.res
+ -if exist .\*.lbc del .\*.lbc
+ -if exist .\*.ilk del .\*.ilk
+
+help : .SYMBOLIC
+ cd help
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+helpview : .SYMBOLIC
+ cd helpview
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+printing : .SYMBOLIC
+ cd printing
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+test : .SYMBOLIC
+ cd test
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+virtual : .SYMBOLIC
+ cd virtual
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+widget : .SYMBOLIC
+ cd widget
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)
+
+zip : .SYMBOLIC
+ cd zip
+ wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+ cd $(WATCOM_CWD)