Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make the executable depend on the library in epic.cabal, to avoid dup…

…licate compilation
  • Loading branch information...
commit e461fccd6045ae86d4b8840ae7d9c14b7d0c959e 1 parent 615b6ef
@Saizan Saizan authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 epic.cabal
  2. 0  { → main}/Main.lhs
View
9 epic.cabal
@@ -19,7 +19,7 @@ Description: Epic is a simple functional language which compiles to
Data-files: evm/libevm.a evm/closure.h evm/stdfuns.h evm/stdfuns.c evm/mainprog.c evm/emalloc.h evm/gc_header.h
Extra-source-files: evm/closure.c evm/closure.h evm/stdfuns.h evm/mainprog.c evm/stdfuns.c evm/Makefile evm/emalloc.c evm/emalloc.h evm/gc_header.h
-Cabal-Version: >= 1.2.3
+Cabal-Version: >= 1.8.0.4
Build-type: Custom
Library
@@ -32,8 +32,7 @@ Library
Executable epic
Main-is: Main.lhs
- Other-modules: Epic.Bytecode Epic.Parser Epic.Scopecheck
- Epic.Language Epic.Lexer Epic.CodegenC
- Epic.OTTLang Epic.Simplify Paths_epic
- Build-depends: base >=4 && <5, haskell98, mtl, Cabal, array, directory
+ hs-source-dirs: main
+ Other-modules: Paths_epic
+ Build-depends: base >=4 && <5, haskell98, Cabal, directory, epic
View
0  Main.lhs → main/Main.lhs
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.