diff options
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r-- | utils/genprimopcode/genprimopcode.cabal | 22 | ||||
-rw-r--r-- | utils/genprimopcode/ghc.mk | 7 |
2 files changed, 26 insertions, 3 deletions
diff --git a/utils/genprimopcode/genprimopcode.cabal b/utils/genprimopcode/genprimopcode.cabal new file mode 100644 index 0000000000..adc5230a4f --- /dev/null +++ b/utils/genprimopcode/genprimopcode.cabal @@ -0,0 +1,22 @@ +Name: genprimopcode +Version: 0.1 +Copyright: XXX +License: BSD3 +-- XXX License-File: LICENSE +Author: XXX +Maintainer: XXX +Synopsis: XXX +Description: XXX +Category: Development +build-type: Simple +cabal-version: >=1.10 + +Executable genprimopcode + Default-Language: Haskell2010 + Main-Is: Main.hs + Other-Modules: Lexer + Parser + ParserM + Syntax + Build-Depends: base >= 4 && < 5, + array diff --git a/utils/genprimopcode/ghc.mk b/utils/genprimopcode/ghc.mk index 4b9ebef0d8..790c75dbb2 100644 --- a/utils/genprimopcode/ghc.mk +++ b/utils/genprimopcode/ghc.mk @@ -10,9 +10,10 @@ # # ----------------------------------------------------------------------------- -utils/genprimopcode_dist_MODULES = Lexer Main ParserM Parser Syntax -utils/genprimopcode_dist_PROGNAME = genprimopcode -utils/genprimopcode_dist_HC_OPTS = -package array +utils/genprimopcode_USES_CABAL = YES +utils/genprimopcode_PACKAGE = genprimopcode +utils/genprimopcode_dist_PROGNAME = genprimopcode +utils/genprimopcode_dist_INSTALL = NO utils/genprimopcode_dist_INSTALL_INPLACE = YES $(eval $(call build-prog,utils/genprimopcode,dist,0)) |