Help for this page

Select Code to Download


  1. or download this
    $ perl Makefile.PL
    MakeMaker (v6.36)
    ...
    mylib/libmylib.a: mylib/Makefile
    make: mylib/libmylib.a:: Command not found
    make: *** [pm_to_blib] Error 127
    
  2. or download this
    $ make
    make: *** No rule to make target `mylib/libmylib.a', needed by `subdir
    +s'.  Stop.
    
  3. or download this
    # --- MakeMaker top_targets section:
    all :: pure_all manifypods
    ...
        $(NOECHO) $(NOOP)
    
    $(O_FILES): $(H_FILES)
    
  4. or download this
    MYEXTLIB = mylib/libmylib$(LIB_EXT)
    
  5. or download this
    # --- MakeMaker postamble section:
    
        $(MYEXTLIB): mylib/Makefile
                cd mylib && $(MAKE) $(PASSTHRU)
    
  6. or download this
    use 5.008008;
    use ExtUtils::MakeMaker;
    ...
                cd mylib && $(MAKE) $(PASSTHRU)
        ';
    }
    
  7. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
    <p>...and there's also a typemap file in this directory, which only ha
    +s one line:
    </p><c>
    const char *    T_PV
    
  8. or download this
    use ExtUtils::MakeMaker;
    $Verbose = 1;
    ...
                            $(RANLIB) libmylib$(LIB_EXT)
    ';
    }
    
  9. or download this
    #define TESTVAL 4
    
    extern double   foo(int, long, const char*);
    
  10. or download this
    #include <stdlib.h>
    #include "./mylib.h"
    ...
    {
            return (a+b+atof(c) + TESTVAL);
    }
    
  11. or download this
    package Mytest2;
    
    ...
    
    1;
    __END__