Helps to add the perl makefile. Bonus points for including a README

This commit is contained in:
Dan Hirsch 2013-12-05 09:58:30 +01:00
parent 01c45d8453
commit fab45fe044
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,15 @@
use ExtUtils::MakeMaker;
use File::Basename;
use Config;
# Scons hack...
chdir(dirname($0));
WriteMakefile(
NAME => "hammer",
LIBS => ["-lhammer"],
OBJECT => 'hammer_wrap.o',
INC => '-I../..',
CCFLAGS => "$Config{ccflags} -DSWIG -DHAMMER_INTERNAL__NO_STDARG_H -std=gnu99",
);

View file

@ -0,0 +1,9 @@
Perl Hammer bindings
====================
To build and run these bindings, you will need to have
ExtUtils::MakeMaker and make installed. On a Debian system, this just
means that you need perl installed. On a lesser Linux distribution,
this may be all you need, but you're on your own. On Windows or
another UNIX, you're *really* on your own (until we get PRs with
better instructions).