Billy, I can just be wrong, but if you are interpolating $HTYPE in Perl,
you should use quotes as here
,'LIBS' => [" -Llibcdmg/${HTYPE} -lcdmg " , ' -lm ']
in here (carefull with OBJECT
,'LDFROM' => '$(OBJECT) libcdmg/${HTYPE}/libcdmg.a',
and here (careful with OBJECT too!
'
$(OBJECT) : libcdmg/${HTYPE}/libcdmg.a
libcdmg/${HTYPE}/libcdmg.a : FORCE
cd libcdmg ; /usr/local/bin/make
test :: ctest
ctest:
cd libcdmg ; /usr/local/bin/make test
clean ::
cd libcdmg ; /usr/local/bin/make clean
'
}
When I run Make everything is ok until I get to:
rm -f blib/arch/auto/Laff/Laff.so
LD_RUN_PATH="/usr/lib" gcc -G -L/apps/perl/5.8.0/lib
-R/apps/perl/5.8.0/lib Laff.o libcdmg//libcdmg.a -o
blib/arch/auto/Laff/Laff.so -lm
gcc: libcdmg//libcdmg.a: No such file or directory
^
|
|
The ${HTYPE} seems to be missing from either the LDFROM or LIBS keys
--
Alberto Simões
Much as I hate to say it, the Computer Science view of language design
has gotten too inbred in recent years. The Computer Scientists should
pay more attention to the Linguists, who have a much better handle on
how people prefer to communicate.
--Larry Wall