7 use Cwd qw( abs_path );
8 use File::Basename qw( dirname );
13 my $ccflags = q<( $Config::Config{ccflags} || '' ) . ' -I.'>;
14 $ccflags .= q< . ' -Wall -Wdeclaration-after-statement'>
23 return eval(ccflags_dyn($is_dev));
29 for my $xs ( glob "xs/*.xs" ) {
30 ( my $c = $xs ) =~ s/\.xs$/.c/i;
31 ( my $o = $xs ) =~ s/\.xs$/\$(OBJ_EXT)/i;
37 for my $c ( glob "*.c" ) {
38 ( my $o = $c ) =~ s/\.c$/\$(OBJ_EXT)/i;
43 clean => { FILES => join( q{ }, @object ) },
44 OBJECT => join( q{ }, @object ),
57 my $ret = shift->SUPER::const_cccmd(@_);
58 return q{} unless $ret;
60 if ($Config{cc} =~ /^cl\b/i) {
61 warn 'you are using MSVC... my condolences.';