Permalink
Browse files

Update Makefile and README.MAc

Ignore-this: a7c05966f8173027dd728f9f18a31c99

darcs-hash:20091217093923-6ac22-2656b4ffc5cb8d26d452d0f0bcb3ca35cae4bc5b.gz
  • Loading branch information...
1 parent 5917238 commit 936eb5b0c135258d5845d0a22f2d667a041f4d1d eb committed Dec 17, 2009
Showing with 8 additions and 8 deletions.
  1. +7 −7 Makefile
  2. +1 −1 README.Mac
View
@@ -3,13 +3,13 @@ PREFIX = $(HOME)
GHCOPTS =
package:
- runhaskell Setup.hs build
+ cabal build
cabal-package:
- runhaskell Setup.hs sdist
+ cabal sdist
configure:
- runhaskell Setup.hs configure --user --ghc --prefix=$(PREFIX)
+ cabal configure --user --ghc --prefix=$(PREFIX)
# cd Epic; echo "module Epic.Prefix where libprefix=\"$(PREFIX)\"" > Prefix.hs
rts:
@@ -18,16 +18,16 @@ rts:
install: .PHONY
$(MAKE) -C evm install PREFIX=$(PREFIX)
$(MAKE) -C lib install PREFIX=$(PREFIX)
- runhaskell Setup.hs install $(DB)
+ cabal install $(DB)
unregister:
- runhaskell Setup.hs unregister $(DB)
+ cabal unregister $(DB)
doc:
- runhaskell Setup.hs haddock
+ cabal haddock
clean:
- runhaskell Setup.hs clean
+ cabal clean
$(MAKE) -C evm clean
cd compiler; rm -f *.o *.hi epic
View
@@ -6,5 +6,5 @@ your .profile:
export C_INCLUDE_PATH=~/include:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=~/include:$CPLUS_INCLUDE_PATH
export LD_LIBRARY_PATH=~/lib:$LD_LIBRARY_PATH
-export INCLUDE_PATH=~/incude:$INCLUDE_PATH
+export INCLUDE_PATH=~/include:$INCLUDE_PATH
export LIBRARY_PATH=~/lib:$LIBRARY_PATH

0 comments on commit 936eb5b

Please sign in to comment.