![]() |
Blitz Bugs : |
From: Clinton Chee (chee_at_[hidden])
Date: 2003-05-27 01:13:27
Dear Blitz++ team,
I found "bug" (I understand if you think otherwise) in the src/Makefile.
Basically it is in:
$(top_srcdir)/lib/$(lib_LIBRARIES): $(lib_LIBRARIES)
cp $< $@
This works with GNU make 3.79 on Linux and gmake on SGI IRIX 6.5.18 but not withmake on SGI IRIX 6.5.18
According to Oram and Talbot "Managing Projects with Make", the $< (which has the same function as the $?) traditionally applies to suffix rules in "make". Whereas $? traditionally applies to "make" rules with targets and prerequisites.
In short, for the sake of portability, do you think the $< should be changed to $? to comply with traditional make notation (even though GNU make appears to be very lenient)?
Otherwise, an unwary user might get:
cp ../lib/libblitz.a
Insufficient arguments
Usage: cp [-aDfirRp] [-b size] [-tP -[e size]] f1 f2
cp [-aDfirRp] [-b size] [-tP -[e size]] f1 ... f2 dir
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Cheers,
Clinton
-- ---------------------------------------------------------------------------- Clinton Chee - PhD Computational Scientist High Performance Computing Support Unit University of New South Wales SYDNEY 2052 AUSTRALIA chee_at_[hidden] Tel: 61 2 9385 6915 Mob: 61 4 0205 8983 ----------------------------------------------------------------------------