Sorry for the typo Jed.  It should read like this:

        all: tst_rvfft2d

        tst_%: tst_%.c $(INC) $(LIBVLIB)
                          $(CC) $(CFLAGS) $< $(LDOPTS) -o $@

 When I run "make all" I get the following under RHEL5 with make v3.81:

        Make: *** No rule to make target 'tst_rvfft2d', needed by 'all'. Stop.

-Jeremy

-----Original Message-----
From: Jed Brown [mailto:[email protected]] On Behalf Of Jed Brown
Sent: Tuesday, October 08, 2013 6:10 AM
To: Burri, Jeremy; [email protected]
Subject: Re: Need help with GNU make: "No rule to make target"

"Burri, Jeremy" <[email protected]> writes:
>Here is the relevant excerpt from the make file:
>
> all: test_rvfft2d
>
> test_%: test_%.c $(INC) $(LIBVLIB)
>                                        $(CC) $(CFLAGS) $< $(LDOPTS) -o 
> $@
>
> When I run "make all" I get the following under RHEL5 with make v3.81:
>
> Make: *** No rule to make target 'tst_rvfft2d', needed by 'all'. Stop.

Is this a verbatim copy of the error message or did you drop the "e" in "test_"?

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to