[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help with GNU make: "No rule to make target"
From: |
Burri, Jeremy |
Subject: |
Need help with GNU make: "No rule to make target" |
Date: |
Mon, 7 Oct 2013 21:50:22 +0000 |
I have been using make v3.80 under RHEL4 to build my code for years and
recently upgraded to make v3.81 and RHEL5. When I did the upgrade I
encountered a problem with one of my make files that I cannot resolve. 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.
This same make file works fine under RHEL4 with make v3.80.
If I replace the "%" with "rvfft2d" the executable will build, but this is one
of roughly a hundred tests apps that need to build and I don't want to include
an explicit rule for each of them.
Can you provide me with any insight into this issue?
Thanks in advance for the help.
-Jeremy
- Need help with GNU make: "No rule to make target",
Burri, Jeremy <=
- Re: Need help with GNU make: "No rule to make target", Jed Brown, 2013/10/08
- RE: Need help with GNU make: "No rule to make target", Burri, Jeremy, 2013/10/08
- RE: Need help with GNU make: "No rule to make target", Jed Brown, 2013/10/08
- RE: Need help with GNU make: "No rule to make target", Burri, Jeremy, 2013/10/09
- RE: Need help with GNU make: "No rule to make target", Burri, Jeremy, 2013/10/10
- RE: Need help with GNU make: "No rule to make target", Burri, Jeremy, 2013/10/10
- RE: Need help with GNU make: "No rule to make target", Jay Lawrence, 2013/10/10
- Re: Need help with GNU make: "No rule to make target", Philip Guenther, 2013/10/10
- Re: Need help with GNU make: "No rule to make target", Paul Smith, 2013/10/10
- RE: Need help with GNU make: "No rule to make target", Jay Lawrence, 2013/10/10