From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 10:04:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246BA106564A for ; Thu, 10 Feb 2011 10:04:47 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id D29908FC0C for ; Thu, 10 Feb 2011 10:04:46 +0000 (UTC) Received: by yie19 with SMTP id 19so515073yie.13 for ; Thu, 10 Feb 2011 02:04:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f0UwR1pl5NIjIqNK7dEefdwI66yWEiccol1eNsY0TF8=; b=Eo7ivfzcb3iAGl5qVhGVtuB66GzWbOJLib7D9Wc9bSTygr0FaSsb8AO344jVh0fGHO AHxaRIBCT17z1lTpnLN0bZgxXwijAs7SZh8E7UfnkTrKDAn+qrdi99sF/zkgkZY9xLbY vV/BxOr9sM2EmKhvsqJAKdglcmfSB02GBZHR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fQ3R5kDl0gYvWD5FnRTyFxg/yeb/lk5SUHHVxaE1OLxLwm6CquJXqxFJ+DDsm2iDxJ jW9od3/XP+BVT7f0OHTxhYcvHSe5slgWZLoljadqX/2Xn0H7+VEvE/v+DK7nw5OK/kiU ni+TStloGpoMyDMD25uN+q3YhoHCtsM2Ys8Gw= MIME-Version: 1.0 Received: by 10.90.248.28 with SMTP id v28mr2380203agh.168.1297332285973; Thu, 10 Feb 2011 02:04:45 -0800 (PST) Received: by 10.90.222.4 with HTTP; Thu, 10 Feb 2011 02:04:45 -0800 (PST) In-Reply-To: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> Date: Thu, 10 Feb 2011 11:04:45 +0100 Message-ID: From: J65nko To: Vikash Badal Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: switching from gnu make to bsd make X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 10:04:47 -0000 On Thu, Feb 10, 2011 at 8:32 AM, Vikash Badal wrote= : > Can someone please advise me as to how I switch the following lines of gn= u make to bsd make > > > $(OBJDIR)/%.o:${SRCDIR}/%.c > =A0 =A0 =A0 =A0${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > I use BSD make for XML and XSLT transformations, so I cannot advise you about this particular issue, but there is a very nice tutorial about the BSD make at http://www.freebsd.org/doc/en_US.ISO8859-1/books/pmake/index.html Good luck