Merge branch 'redesign' of github.com:kthakore/SDL_perl into redesign
[sdlgit/SDL_perl.git] / Build.PL
index 048d303..142b973 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -57,11 +57,18 @@ my %subsystems =
        },
        Surface => {
                file      => {
-                       from  => 'src/Surface.xs',
+                       from  => 'src/Core/objects/Surface.xs',
                        to    => 'lib/SDL/Surface.xs',
                },
                libraries => [qw( SDL SDL_image )],
        },
+       PixelFormat => {
+               file      => {
+                       from  => 'src/Core/objects/PixelFormat.xs',
+                       to    => 'lib/SDL/PixelFormat.xs',
+               },
+               libraries => [qw( SDL SDL_image )],
+       },
        OpenGL => {
                file      => {
                        from => 'src/OpenGL.xs',