]> git.saurik.com Git - wxWidgets.git/commitdiff
pass options to submakefiles
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 9 Aug 2003 22:40:49 +0000 (22:40 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 9 Aug 2003 22:40:49 +0000 (22:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/makefile.bcc
demos/makefile.gcc
demos/makefile.wat

index aa8e8912ac91c440fa2a3c8e9b3071b3aaad3bbd..0213f6229242fbad89dccac42deefdc6b4fb5b5f 100644 (file)
@@ -20,12 +20,18 @@ BCCDIR = $(MAKEDIR)\..
 
 ### Variables: ###
 
+MAKEARGS = -DCPPFLAGS=$(CPPFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) \
+       -DLDFLAGS=$(LDFLAGS) -DCC=$(CC) -DUSE_GUI=$(USE_GUI) \
+       -DMONOLITHIC=$(MONOLITHIC) -DCXXFLAGS=$(CXXFLAGS) -DUSE_HTML=$(USE_HTML) \
+       -DBUILD=$(BUILD) -DDEBUG_INFO=$(DEBUG_INFO) -DVENDOR=$(VENDOR) \
+       -DUNICODE=$(UNICODE) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DMSLU=$(MSLU) \
+       -DWXUNIV=$(WXUNIV) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DCXX=$(CXX) -DCFG=$(CFG) \
+       -DCFLAGS=$(CFLAGS) -DSHARED=$(SHARED) -DUSE_ODBC=$(USE_ODBC) \
+       -DUSE_OPENGL=$(USE_OPENGL)
 
 ### Conditionally set variables: ###
 
 
-MAKEARGS = 
-
 
 ### Targets: ###
 
index 24d532f4bf808892c141a42b98331195cb1ea9e3..ce83bfa3862439fe7bf97994ffd450e0a55051a6 100644 (file)
@@ -12,12 +12,17 @@ include ../build/msw/config.gcc
 
 ### 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)
 
 ### Conditionally set variables: ###
 
 
-MAKEARGS = GCC_VERSION=$(GCC_VERSION)
-
 
 ### Targets: ###
 
index 5bdf79ec691c478a198a5ffc77768696d2b39e3a..a428ce7e4ef5eb148c58e76fd6bbfa0b9f6b511a 100644 (file)
@@ -30,8 +30,13 @@ WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
 
 ### Variables: ###
 
-
-MAKEARGS = 
+MAKEARGS = CPPFLAGS=$(CPPFLAGS) OFFICIAL_BUILD=$(OFFICIAL_BUILD) &
+       WXUNIV=$(WXUNIV) DEBUG_FLAG=$(DEBUG_FLAG) CFLAGS=$(CFLAGS) &
+       RUNTIME_LIBS=$(RUNTIME_LIBS) CXX=$(CXX) CFG=$(CFG) USE_GUI=$(USE_GUI) &
+       MONOLITHIC=$(MONOLITHIC) CXXFLAGS=$(CXXFLAGS) CC=$(CC) USE_HTML=$(USE_HTML) &
+       BUILD=$(BUILD) LDFLAGS=$(LDFLAGS) DEBUG_INFO=$(DEBUG_INFO) SHARED=$(SHARED) &
+       VENDOR=$(VENDOR) USE_OPENGL=$(USE_OPENGL) USE_ODBC=$(USE_ODBC) &
+       UNICODE=$(UNICODE)
 
 
 ### Targets: ###