mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt compilation options


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Qt compilation options
Date: Sat, 10 Aug 2013 22:25:08 +1000

On 08/08/2013, at 7:12 PM, Volker Grabsch <address@hidden> wrote:

> In hindsight, choosing GNU Make as the base "platform"
> for MXE turned out to be lucky find.

Indeed, I think it gets a bad reputation from autotools; also the way MXE is 
designed nicely avoids tab issues in src/*.mk. Make can even do recursive 
functions[1], so now I have an early working version of my long-awaited feature:

make EXCLUDE_PKGS='glib ocaml% qt'

to exclude packages and all their downstream dependents.

Cheers,

Tony


[1]
DDEP_PKGS = $(sort \
                $(foreach DEP_PKG,$(2),\
                    $(if $(filter $(1),$($(DEP_PKG)_DEPS)),\
                        $(DEP_PKG) $(call DDEP_PKGS,$(DEP_PKG),$(2)))))

REXCLUDED_PKGS := $(sort $(filter $(EXCLUDE_PKGS),$(PKGS)) \
                      $(call DDEP_PKGS,$(filter 
$(EXCLUDE_PKGS),$(PKGS)),$(PKGS)))

all: $(filter-out $(REXCLUDED_PKGS),$(PKGS))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]