From owner-freebsd-questions@freebsd.org Wed Mar 2 19:02:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA7FFAC09CC for ; Wed, 2 Mar 2016 19:02:26 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81F651FC7 for ; Wed, 2 Mar 2016 19:02:26 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x235.google.com with SMTP id e185so211636993vkb.1 for ; Wed, 02 Mar 2016 11:02:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=XMVse6p0vsvBlOfGRRwKIPINtlasWICGAY6nAq4yA58=; b=CUjqQxWxwnhcgGzaIohtwmGe2HchlwRBrap0ybE8FUiN2G6NTFOwYB7FNSCHTbCk1l Yj0mF9nz2cwDF0L75qaaiTxSlxaiqyPfAnErHcd1C/SPmdjuUlqF5gzlcaAEgEIJSwS6 tMFBAlsXsA/UZEVmRideHWuSRL1F6GWrBmJ+0OaDcCMgUuRmKdYw2QgMAas43ZmFS8kz kQH3ZCnxDMVNAYwetTh5U4eUROSg341ArtGzJiv9cSU7lyw+I3Na0Q1M3lzoFvmyjbFb L1eXt68melYHh17SKA7QRT7qf+9EMoN0mPg2N3j22yhj5mXvwZaYvyRbrmjNSu88WFyI CPdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=XMVse6p0vsvBlOfGRRwKIPINtlasWICGAY6nAq4yA58=; b=doG3UanATfuxEzQkkq7c3UHEeuRJX4j1wdFplmo2F9lpRbuR+Oa95Yw8ZD+rPhOF2e 0UyXXOExVaModsKOKnhB4YG/rY6KbUXMU/OgNtqch+I0ol74b3a/kVmMaCOMss9OPhzZ P80NRLgt/DNzOiv3SNtLbWwW/pcQUi6pAw5H6t6FziRw0rwZc6nVwK1zbLBsmdzSAhBR LW8SpDQtSZq+tIRTtApOvROVJpFiGNUqAMK3RsO/wt4TF5sO5HSWbgKrsPL6FdmO+H/m J9ch8VTkmBqn/VnwduJS60ESCpg75wt1BisbHC1df9bHPZ4t46/1yK1N0FFoSs/ct29B 85rQ== X-Gm-Message-State: AD7BkJKcH0uThS6kv315/6a5w4HimIywzq8FeW4/gl3Xx3ORqheNOuTViTZ5lLQqiJ4IZU+HMIb3NmX1gfigxg== MIME-Version: 1.0 X-Received: by 10.31.0.215 with SMTP id 206mr21641398vka.22.1456945345612; Wed, 02 Mar 2016 11:02:25 -0800 (PST) Received: by 10.31.174.132 with HTTP; Wed, 2 Mar 2016 11:02:25 -0800 (PST) In-Reply-To: <1456944632.297035.537676842.2E7D0C93@webmail.messagingengine.com> References: <1456944632.297035.537676842.2E7D0C93@webmail.messagingengine.com> Date: Wed, 2 Mar 2016 11:02:25 -0800 Message-ID: Subject: Re: have BSD make pass all arguments to GNU make? From: Sergei G To: Tobias Kortkamp Cc: Aleksandr Miroslav , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2016 19:02:27 -0000 gmake ${.TARGETS} ${MAKEFLAGS} On Wed, Mar 2, 2016 at 10:50 AM, Tobias Kortkamp wrote: > How about: > > ${.TARGETS}: > @gmake ${.TARGETS} > > > On Wed, Mar 2, 2016, at 07:45 PM, Aleksandr Miroslav wrote: > > GMail munged my highlighting . I meant bar $* and gmake $* in those two > > examples. > > > > > > > > On Wed, Mar 2, 2016 at 10:42 AM, Aleksandr Miroslav > > > > wrote: > > > > > In shell, if I call a script "foo", i can pass all the arguments to a > > > script "bar" like this: > > > > > > > > > *bar $** > > > > > > I would like to do something similar with make. > > > > > > If I call BSD make with some target, I'd like to rerun it on a > > > GnuMakefile, something like this: > > > > > > > > > *gmake $** > > > > > > Obviously this doesn't work because (I think) make doesn't have the > notion > > > of $*. > > > > > > But is something like this possible? > > > > > > (I'd rather not alias make to gmake, in case you were wondering, my > system > > > uses both makes in various places.) > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >