I have a simple C source file in a src
directory in my project. My Build.PL
contains the following lines:
c_source => ['src'],
extra_compiler_flags => ['-std=c99']
However, all this does is compile it to a .o
file in the src
directory corresponding to the C file. What I'd really like is to have it compiled and linked to form an executable, then put in my bin
directory.
Is this possible and advisable with Module::Build
?