From owner-freebsd-questions@freebsd.org Wed Mar 2 18:50:34 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 A2334AC00D4 for ; Wed, 2 Mar 2016 18:50:34 +0000 (UTC) (envelope-from t@tobik.me) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78B75127B for ; Wed, 2 Mar 2016 18:50:34 +0000 (UTC) (envelope-from t@tobik.me) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1F96920778 for ; Wed, 2 Mar 2016 13:50:33 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute4.internal (MEProxy); Wed, 02 Mar 2016 13:50:33 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tobik.me; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=KFUm8naF4gIUIR66WA9as/8m0MQ=; b=DMiVwR oQhxa+P6ORjdaSrSeHLT59BY/rdfSqDx4pZ/WacmmZ6+rheN7V29bjdknI4yHWmE CqQ1y4jXmfYF3X/pJJz+yh9FEyhTWD9LGF1sbZuHXqrIkh6KehfOn/qnI2yeC9t6 +sTxiTn8O9HZQF3hMpCTZ4q1tnWdyHJLbdweU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=KFUm8naF4gIUIR6 6WA9as/8m0MQ=; b=cPyDSL925HzpPpcqlYXTfvpMgOq8YbZvmibPdDyQ1nVZVZQ gNe+5JOtP4CnbVP+LReK13oZf+xYX3Mc44rL1VwjKjebuzksXstFD7OR2nOqLVAe 1BeIK9UvEIeFO6i8dvphllFiXJJwn3GWuDuYyOqSx2lxRTL8IkjNYrfk8FtE= Received: by web2.nyi.internal (Postfix, from userid 99) id E8AFF540057; Wed, 2 Mar 2016 13:50:32 -0500 (EST) Message-Id: <1456944632.297035.537676842.2E7D0C93@webmail.messagingengine.com> X-Sasl-Enc: 16MacBC9pINK2DtZEiotz3kCYb24yH9lxuHvMr6rp6Yf 1456944632 From: Tobias Kortkamp To: Aleksandr Miroslav , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-04035516 In-Reply-To: References: Subject: Re: have BSD make pass all arguments to GNU make? Date: Wed, 02 Mar 2016 19:50:32 +0100 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 18:50:34 -0000 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"