sequor-0.2.2: Makefile
INCLUDES=lib
all:run
run:
ghc --make -O2 -isrc:$(INCLUDES) -o bin/sequor src/ghc_rts_opts.c src/Main.hs
cabal:
runghc Setup.lhs configure --user --prefix=`pwd` --bindir=`pwd`/bin/ &&\
runghc Setup.lhs build && runghc Setup.lhs install
cabal-static:
runghc Setup.lhs configure --user --prefix=`pwd` --bindir=`pwd`/bin/ \
--ghc-option="-optl-static" --ghc-option="-optl-pthread" &&\
runghc Setup.lhs build && runghc Setup.lhs install
-rm -rf dist
-rm -rf share
clean:
-find . -name '*.o' | xargs rm
-find . -name '*.hi' | xargs rm