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",
);