tools/pas2c/pas2c.cabal
author Wuzzy <Wuzzy2@mail.ru>
Thu, 19 Apr 2018 15:48:00 +0200
changeset 13339 450e37b2b4d4
parent 11399 ed6bb8c066b3
child 13506 36f3f77e9b1b
permissions -rw-r--r--
Fix incorrect check for iPhone macro in hwconsts.h TARGET_OS_IPHONE is always defined when building on Mac OS, so the define was wrong. This macro expands to either 0 or 1, so a simple #if should be enough.

Name:                pas2c
Version:             0.1
Synopsis:            pas2c
Description:         pas2c
Homepage:            http://www.hedgewars.org/
License:             GPL-2
Author:              unC0Rr
Maintainer:          unC0Rr@hedgewars.org
Category:            Converter
Build-type:          Simple
Cabal-version:       >=1.10


Executable pas2c
  main-is: Main.hs

  default-language:    Haskell2010

  build-depends:
    base >= 4.3,
    containers,
    mtl >= 2,
    parsec,
    pretty,
    transformers

  if !os(windows)
    build-depends: unix

  ghc-options: -O2