# =========================================================================
# This makefile was generated by
-# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Do not modify, all changes will be overwritten!
# =========================================================================
### Variables: ###
-MAKEARGS = CPPFLAGS=$(CPPFLAGS) DEBUG_FLAG=$(DEBUG_FLAG) LDFLAGS=$(LDFLAGS) \
- CC=$(CC) USE_GUI=$(USE_GUI) MONOLITHIC=$(MONOLITHIC) CXXFLAGS=$(CXXFLAGS) \
- GCC_VERSION=$(GCC_VERSION) USE_HTML=$(USE_HTML) BUILD=$(BUILD) \
- DEBUG_INFO=$(DEBUG_INFO) 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)
+MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
+ CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" \
+ WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" MSLU="$(MSLU)" BUILD="$(BUILD)" \
+ DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" \
+ MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" \
+ USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" \
+ USE_RICHTEXT="$(USE_RICHTEXT)" USE_OPENGL="$(USE_OPENGL)" \
+ USE_ODBC="$(USE_ODBC)" USE_QA="$(USE_QA)" \
+ USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" \
+ USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" \
+ OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" \
+ WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" \
+ CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" \
+ RUNTIME_LIBS="$(RUNTIME_LIBS)" GCC_VERSION="$(GCC_VERSION)"
### Conditionally set variables: ###
### Targets: ###
-all: tex2rtf helpgen
+all: emulator helpview tex2rtf helpgen
clean:
-if exist .\*.o del .\*.o
+ -if exist .\*.d del .\*.d
+ $(MAKE) -C emulator\src -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C helpview\src -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C tex2rtf\src -f makefile.gcc $(MAKEARGS) clean
+ $(MAKE) -C HelpGen -f makefile.gcc $(MAKEARGS) clean
-helpgen:
- $(MAKE) -C HelpGen -f makefile.gcc $(MAKEARGS) all
+emulator:
+ $(MAKE) -C emulator\src -f makefile.gcc $(MAKEARGS) all
+
+helpview:
+ $(MAKE) -C helpview\src -f makefile.gcc $(MAKEARGS) all
tex2rtf:
$(MAKE) -C tex2rtf\src -f makefile.gcc $(MAKEARGS) all
-.PHONY: all clean helpgen tex2rtf
+helpgen:
+ $(MAKE) -C HelpGen -f makefile.gcc $(MAKEARGS) all
+
+.PHONY: all clean emulator helpview tex2rtf helpgen
+
+
+# Dependencies tracking:
+-include ./*.d