Skip to content

Instantly share code, notes, and snippets.

@jaspervdj
Created September 24, 2012 05:58
Show Gist options
  • Save jaspervdj/3774509 to your computer and use it in GitHub Desktop.
Save jaspervdj/3774509 to your computer and use it in GitHub Desktop.
Firefly on windows: cabal snippet
...
Library
...
If(os(windows))
Include-dirs:
../SDL-1.2.15/include
../SDL_mixer-1.2.12
../freetype-2.4.10/include
../libpng-1.5.12/
Ld-options:
-L../libpng-1.5.12
-L../zlib-1.2.7
-L../SDL_mixer-1.2.12/build/.libs
-L../freetype-2.4.10/objs/.libs
-L../SDL-1.2.15/build/.libs
-lpng
-lz
-lSDL_mixer
-lfreetype
-lopengl32
-lmingw32
-lSDLmain
-lSDL
-mwindows
Else
Pkgconfig-depends:
freetype2,
gl,
libpng,
sdl >= 1.2,
SDL_mixer >= 1.2
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment