From 470ac906f8399276134e4607fae5cdfdef2f012c Mon Sep 17 00:00:00 2001 From: Roman Leshchinskiy <rl@cse.unsw.edu.au> Date: Tue, 26 Jun 2007 04:27:43 +0000 Subject: [PATCH] Correct Cabal-related bugs in build system --- examples/mk/common.mk | 3 ++- ndp.cabal | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/mk/common.mk b/examples/mk/common.mk index f9546427..9c563ddf 100644 --- a/examples/mk/common.mk +++ b/examples/mk/common.mk @@ -1,7 +1,8 @@ NDPDIR = $(TESTDIR)/.. +NDPVERSION = 0.1 BENCHDIR = $(TESTDIR)/lib -NDPLIB = $(NDPDIR)/libHSndp.a +NDPLIB = $(NDPDIR)/dist/build/libHSndp-$(NDPVERSION).a BENCHLIB = $(BENCHDIR)/libNDPBench.a HC = $(NDPDIR)/../../compiler/ghc-inplace diff --git a/ndp.cabal b/ndp.cabal index 307c0799..1f09eb76 100644 --- a/ndp.cabal +++ b/ndp.cabal @@ -70,5 +70,5 @@ other-modules: ghc-options: -fglasgow-exts -fbang-patterns -O2 -funbox-strict-fields -fliberate-case-threshold100 -fdicts-cheap -fno-method-sharing -fmax-simplifier-iterations6 -threaded -haddock -ftype-families - -fcpr-off + -fcpr-off -package-name ndp -- GitLab