On Sep 9, 2004, at 11:31 AM, Billy N. Patton wrote:

sub MY::subdirs {
'

$(OBJECT) : libcdmg/${HTYPE}/libcdmg.a

$HTYPE is a variable in the perl script, and you're using non-interpolating quotes here, so the actual text "${HTYPE}" is making it into the generated Makefile, where HTYPE is not defined.


either add a line to your Makefile code to initialize HTYPE, or break the quotes to concatenate correctly.

  '
  ...
  $(OBJECT) : libcdmg/'.$HTYPE.'/libcdmg.a
  ...
  '

--
Eight, eight, eight, eight ounces to gooooo, you're gonna be sedated!
  -- Elysse, singing while feeding rice cereal formula to
    fussy infant Yvonne



Reply via email to