RE: source file extension

2010-10-20 Thread Duke Normandin
On Wed, 20 Oct 2010, Martin Dorey wrote: > > define assert > > $(call assert,$($ARGS), The variable "$ARGS" is null) > > endef > > This code is dead - nothing calls it. I see that it includes an > expression that will be evaluated (if it's ever called) as $(A)RGS > when it was probably intended t

RE: source file extension

2010-10-20 Thread Martin Dorey
> define assert > $(call assert,$($ARGS), The variable "$ARGS" is null) > endef This code is dead - nothing calls it. I see that it includes an expression that will be evaluated (if it's ever called) as $(A)RGS when it was probably intended to say $(ARGS). > SRCS = $(wordlist 2, 999, $(ARGS))

Re: source file extension

2010-10-20 Thread Duke Normandin
On Wed, 20 Oct 2010, Paul Smith wrote: > On Wed, 2010-10-20 at 16:08 -0600, Duke Normandin wrote: > > %.o:%.mod > >$(MODULA) %< > > This should be "$<", not "%<". I should use my "good eye" when I program and debug! Thanks for catching that. Unfortunately fixing the typo didn't solve the prob

Re: source file extension

2010-10-20 Thread Paul Smith
On Wed, 2010-10-20 at 16:08 -0600, Duke Normandin wrote: > %.o:%.mod >$(MODULA) %< This should be "$<", not "%<". ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make

source file extension

2010-10-20 Thread Duke Normandin
Hello list... I recently cobbled together a "generic" Makefile for an Oberon-2 compiler - with the help of 2 generous hackers on this list. Works great with Oberon. Today I tried the same Makefile with a Modula-2 compiler, after making the necessary changes. The Modula compiler is really a gcc fr