1 2 3 4 5 6 7 8
use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Pikul', INC => '`pkg-config --cflags json-c`', LIBS => ['-lpikul -lcurl -ljson-c'], OBJECT => '$(O_FILES)', DEFINE => '-DLOG_PATH=\"/var/log/pikul.log\"' );