### Variables: ###
+MAKEARGS = CPPFLAGS="$(CPPFLAGS)" DEBUG_FLAG="$(DEBUG_FLAG)" \
+ LDFLAGS="$(LDFLAGS)" DEBUG_RUNTIME_LIBS="$(DEBUG_RUNTIME_LIBS)" CC="$(CC)" \
+ USE_GUI="$(USE_GUI)" MONOLITHIC="$(MONOLITHIC)" CXXFLAGS="$(CXXFLAGS)" \
+ USE_HTML="$(USE_HTML)" BUILD="$(BUILD)" DEBUG_INFO="$(DEBUG_INFO)" \
+ USE_EXCEPTIONS="$(USE_EXCEPTIONS)" VENDOR="$(VENDOR)" UNICODE="$(UNICODE)" \
+ OFFICIAL_BUILD="$(OFFICIAL_BUILD)" MSLU="$(MSLU)" WXUNIV="$(WXUNIV)" \
+ RUNTIME_LIBS="$(RUNTIME_LIBS)" CXX="$(CXX)" CFG="$(CFG)" CFLAGS="$(CFLAGS)" \
+ SHARED="$(SHARED)" USE_ODBC="$(USE_ODBC)" USE_OPENGL="$(USE_OPENGL)"
### Conditionally set variables: ###
### Targets: ###
-all: sub_tex2rtf sub_helpgen
+all: sub_configtool sub_emulator sub_helpview sub_tex2rtf sub_helpgen
clean:
-if exist .\*.obj del .\*.obj
-if exist .\*.res del .\*.res
+sub_configtool:
+ cd configtool\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd $(MAKEDIR)
+
+sub_emulator:
+ cd emulator\src
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
+ cd $(MAKEDIR)
+
sub_helpgen:
cd HelpGen
- $(MAKE) /$(MAKEFLAGS) -f makefile.vc all
+ $(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) /$(MAKEFLAGS) -f makefile.vc all
+ $(MAKE) -f makefile.vc $(MAKEARGS) all
cd $(MAKEDIR)