Blitz logo

Blitz Bugs :

From: Patrick Guio (patrick.guio_at_[hidden])
Date: 2003-02-19 11:31:37


On Wed, 19 Feb 2003, Sebastian Dransfeld wrote:

Hi Sebastian,

These are rules to build .h and .cc files. For example

$(top_srcdir)/blitz/array/bops.cc: genarrbops

means that to update the target $(top_srcdir)/blitz/array/bops.cc, the
program ./genarrbops is executed. Naturally the program genarrbops has
been build using the dependence

noinst_PROGRAMS = genarrbops
genarrbops_SOURCES = genarrbops.cpp

Looking at the error message you get, it looks like the $< is not replaced
by genarrbops.
Which make program are you using? I suggest you should use the GNU make
program.

Hope it helps.

Cheers,

Patrick

> What do these lines do in
> blitz/generate/Makefile.{in,am}?
>
>
> %.h:
> ./$<
>
> %.cc:
> ./$<
>
> They cause this error:
>
> make[2]: Entering directory `/home/sebastid/CVS/blitz/blitz/generate'
> ./
> make[2]: execvp: ./: Permission denied
>