-all:
- cd $(WXDIR)\utils\dialoged\src
- nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\hytext\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\mfutils\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\tex2rtf\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxbuild\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxgraph\src
-# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxtree\src
-# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxhelp\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wximage\win
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxweb\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxhelp2\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\clockwrk\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxanim\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\colours
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\ogl\src
-# nmake -f makefile.vc DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
-# cd $(WXDIR)\utils\wxchart\src
-# nmake -f makefile.vc test DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS)
+### Conditionally set variables: ###
+
+
+
+### Targets: ###
+
+all: sub_emulator sub_helpview sub_tex2rtf sub_helpgen
+
+clean:
+ -if exist .\*.obj del .\*.obj
+ -if exist .\*.res del .\*.res
+ -if exist .\*.pch del .\*.pch
+ cd emulator\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) clean
+ cd "$(MAKEDIR)"
+ cd helpview\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) clean
+ cd "$(MAKEDIR)"
+ cd tex2rtf\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) clean
+ cd "$(MAKEDIR)"
+ cd HelpGen\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) clean
+ cd "$(MAKEDIR)"
+
+sub_emulator:
+ cd emulator\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd "$(MAKEDIR)"
+
+sub_helpview:
+ cd helpview\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd "$(MAKEDIR)"
+
+sub_tex2rtf:
+ cd tex2rtf\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd "$(MAKEDIR)"
+
+sub_helpgen:
+ cd HelpGen\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd "$(MAKEDIR)"