- 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
- or download this
$ make
make: *** No rule to make target `mylib/libmylib.a', needed by `subdir
+s'. Stop.
- or download this
# --- MakeMaker top_targets section:
all :: pure_all manifypods
...
$(NOECHO) $(NOOP)
$(O_FILES): $(H_FILES)
- or download this
MYEXTLIB = mylib/libmylib$(LIB_EXT)
- or download this
# --- MakeMaker postamble section:
$(MYEXTLIB): mylib/Makefile
cd mylib && $(MAKE) $(PASSTHRU)
- or download this
use 5.008008;
use ExtUtils::MakeMaker;
...
cd mylib && $(MAKE) $(PASSTHRU)
';
}
- 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
- or download this
use ExtUtils::MakeMaker;
$Verbose = 1;
...
$(RANLIB) libmylib$(LIB_EXT)
';
}
- or download this
#define TESTVAL 4
extern double foo(int, long, const char*);
- or download this
#include <stdlib.h>
#include "./mylib.h"
...
{
return (a+b+atof(c) + TESTVAL);
}
- or download this
package Mytest2;
...
1;
__END__