Commit 81083a22 authored by Daniel Firth's avatar Daniel Firth
Browse files

Remove Setup.hs

parent 727d5cd1
Copyright (c) 2015 Vladimir Semyonov
Copyright (c) 2015 Vladimir Semyonov, 2015 Siniša Biđin, 2021 Daniel Firth
All rights reserved.
......@@ -13,7 +13,7 @@ modification, are permitted provided that the following conditions are met:
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Vladimir Semyonov nor the names of other
* Neither the names of the aforementioned authors nor other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
......
import Distribution.Simple
main = defaultMain
......@@ -35,14 +35,14 @@ library:
- vector >= 0.10
source-dirs: src
includes:
SDL_mixer.h
pkg-config-dependencies:
- SDL2_mixer >= 2.0.0
extra-libraries:
SDL2_mixer
- SDL2_mixer
c-sources:
cbits/helpers.c
- cbits/helpers.c
executables:
sdl2-mixer-basic:
......
......@@ -41,6 +41,8 @@ library
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, bytestring >=0.10.4.0
......@@ -63,6 +65,8 @@ executable sdl2-mixer-basic
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, data-default-class >=0.0.1
......@@ -81,6 +85,8 @@ executable sdl2-mixer-basic-jumbled
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, data-default-class >=0.0.1
......@@ -99,6 +105,8 @@ executable sdl2-mixer-basic-raw
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, sdl2 >=2.0.0
......@@ -116,6 +124,8 @@ executable sdl2-mixer-effect
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, sdl2 >=2.0.0
......@@ -134,6 +144,8 @@ executable sdl2-mixer-music
cbits/helpers.c
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
build-depends:
base >=4.9 && <5
, sdl2 >=2.0.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment