X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdc408c4c6bfdfe743372bbd090224f293e91d07..16fd964239d70597b0c072d4f3909b3e93460423:/samples/opengl/makefile.gcc diff --git a/samples/opengl/makefile.gcc b/samples/opengl/makefile.gcc index 85afbe85b1..45baa4e1cf 100644 --- a/samples/opengl/makefile.gcc +++ b/samples/opengl/makefile.gcc @@ -4,7 +4,7 @@ # Do not modify, all changes will be overwritten! # ========================================================================= -include ../../build/config.gcc +include ../../build/msw/config.gcc # ------------------------------------------------------------------------- # Do not modify the rest of this file! @@ -12,6 +12,13 @@ include ../../build/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: ### @@ -19,12 +26,18 @@ include ../../build/config.gcc ### Targets: ### -all: cube +all: cube isosurf penguin clean: -if exist .\*.o del .\*.o cube: - (cd cube && $(MAKE) all) + $(MAKE) -C cube -f makefile.gcc $(MAKEARGS) all -.PHONY: all clean cube +isosurf: + $(MAKE) -C isosurf -f makefile.gcc $(MAKEARGS) all + +penguin: + $(MAKE) -C penguin -f makefile.gcc $(MAKEARGS) all + +.PHONY: all clean cube isosurf penguin