On Fri, 11 Feb 2011 10:26:13 +0200, Vikash Badal wrote:
> Make all produces the follow output:
>
> make all
> cc -o bin/nntpd -lpthread -lmysqlclient_r -Wall -g -Iinclude
> -I/usr/local/include -I/usr/local/include/mysql -L/usr/local/lib
> -L/usr/local/lib/mysql obj/log.o obj/cleanup.o obj/config.
On Thu, 10 Feb 2011 17:59:14 -0600 (CST), Robert Bonomi
wrote:
>> From: Vikash Badal
>> Date: Thu, 10 Feb 2011 11:30:02 +0200
>> Subject: RE: switching from gnu make to bsd make
>>
>> > -Original Message-
>> > From: Polytropon [mailto:free
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Robert Bonomi
> Sent: 11 February 2011 01:59 AM
> To: Vikash Badal
> Cc: freebsd-questions@freebsd.org
> Subject: Re: switching from gnu make
> From: Vikash Badal
> Date: Thu, 10 Feb 2011 11:30:02 +0200
> Subject: RE: switching from gnu make to bsd make
>
> > -Original Message-
> > From: Polytropon [mailto:free...@edvax.de] Sent: 10 February 2011 10:11
> > AM To: Vikash Badal Cc: freebsd-que
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 gnu
> make to bsd make
>
>
> $(OBJDIR)/%.o:${SRCDIR}/%.c
> ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@
>
I use BSD make for XML and XSLT transformations, so I
> -Original Message-
> From: Polytropon [mailto:free...@edvax.de]
> Sent: 10 February 2011 10:11 AM
> To: Vikash Badal
> Cc: freebsd-questions@freebsd.org
> Subject: Re: switching from gnu make to bsd make
>
> Of course, in my testing case OBJDIR and SRCDIR a
On Thu, 10 Feb 2011 09:32:06 +0200, Vikash Badal wrote:
> Can someone please advise me as to how I switch the following lines of gnu
> make to bsd make
>
>
> $(OBJDIR)/%.o:${SRCDIR}/%.c
> ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@
It sems to work with BSD make, I've tried it.