Browse files

Added bin script to make configuring easier

  • Loading branch information...
1 parent 4d6fd20 commit 6bbf9d3354107e84daae7799178baf947bfc7a60 @kthakore kthakore committed Jul 10, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 bin/sdl-config.pl
View
18 bin/sdl-config.pl
@@ -0,0 +1,18 @@
+#! perl
+use strict;
+use warnings;
+use Alien::SDL;
+use Getopt::Long;
+
+my $libs; my $cflags; my $prefix;
+
+my $result = GetOptions ( "libs" => \$libs,
+ "cflags" => \$cflags,
+ "prefix" => \$prefix );
+
+
+print Alien::SDL->config('libs') if $libs;
+print Alien::SDL->config('cflags') if $cflags;
+print Alien::SDL->config('prefix') if $prefix;
+
+

0 comments on commit 6bbf9d3

Please sign in to comment.