Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 107 lines (88 sloc) 3.278 kb
CONFIG_LIB_OPTS=--ghc-option=-Wall
CONFIG_BIN_OPTS=--prefix=${PWD}/roguestar-local --ghc-option=-Wall
warning:
@echo "See README."
install-deps:
cabal --version
cabal install Vec ${OPTS}
cabal install MaybeT ${OPTS}
cabal install MonadRandom ${OPTS}
cabal install data-inttrie ${OPTS}
cabal install data-memocombinators ${OPTS}
cabal install PSQueue ${OPTS}
cabal install vector ${OPTS}
cabal install statistics ${OPTS}
cabal install priority-sync ${OPTS}
clean:
-rm -rf ./roguestar-local
-rm -rf ./roguestar-sdist
${MAKE} clean-libs
${MAKE} clean-bins
clean-libs:
(cd rsagl && cabal clean ${OPTS})
clean-bins:
(cd rsagl-demos && cabal clean ${OPTS})
(cd roguestar-engine && cabal clean ${OPTS})
(cd roguestar-gl && cabal clean ${OPTS})
config-libs:
(cd rsagl && cabal configure --user ${CONFIG_LIB_OPTS} ${OPTS})
config-bins:
mkdir -p ./roguestar-local
(cd rsagl-demos && cabal configure --user ${CONFIG_BIN_OPTS} ${OPTS})
(cd roguestar-engine && cabal configure --user ${CONFIG_BIN_OPTS} ${OPTS})
(cd roguestar-gl && cabal configure --user ${CONFIG_BIN_OPTS} ${OPTS})
build-libs:
(cd rsagl && cabal build ${OPTS})
build-bins:
(cd rsagl-demos && cabal build ${OPTS})
(cd roguestar-engine && cabal build ${OPTS})
(cd roguestar-gl && cabal build ${OPTS})
copy-libs:
(cd rsagl && cabal copy ${OPTS} && cabal register ${OPTS})
copy-bins:
(cd rsagl-demos && cabal copy ${OPTS})
(cd roguestar-engine && cabal copy ${OPTS})
(cd roguestar-gl && cabal copy ${OPTS})
install-libs:
(cd rsagl && cabal install --reinstall ${OPTS})
install-bins:
(cd rsagl-demos && cabal install --reinstall ${OPTS})
(cd roguestar-engine && cabal install --reinstall ${OPTS})
(cd roguestar-gl && cabal install --reinstall ${OPTS})
install:
${MAKE} install-libs
${MAKE} install-bins
from-scratch:
${MAKE} clean -e OPTS=""
${MAKE} config-libs -e OPTS=""
${MAKE} build-libs -e OPTS=""
${MAKE} copy-libs -e OPTS=""
${MAKE} config-bins -e OPTS=""
${MAKE} build-bins -e OPTS=""
${MAKE} copy-bins -e OPTS=""
from-libs:
${MAKE} build-libs -e OPTS=""
${MAKE} copy-libs -e OPTS=""
${MAKE} clean-bins -e OPTS=""
${MAKE} config-bins -e OPTS=""
${MAKE} build-bins -e OPTS=""
${MAKE} copy-bins -e OPTS=""
sdist:
(cd rsagl && cabal check && cabal sdist ${OPTS})
(cd rsagl-demos && cabal check && cabal sdist ${OPTS})
(cd roguestar-engine && cabal check && cabal sdist ${OPTS})
(cd roguestar-gl && cabal check && cabal sdist ${OPTS})
mkdir -p ./roguestar-sdist
cp rsagl/dist/*.tar.gz ./roguestar-sdist
cp rsagl-demos/dist/*.tar.gz ./roguestar-sdist
cp roguestar-engine/dist/*.tar.gz ./roguestar-sdist
cp roguestar-gl/dist/*.tar.gz ./roguestar-sdist
(cd roguestar-sdist && tar xzf roguestar-engine-${VERSION}.tar.gz)
(cd roguestar-sdist && tar xzf roguestar-gl-${VERSION}.tar.gz)
(cd roguestar-sdist && tar xzf rsagl-${VERSION}.tar.gz)
(cd roguestar-sdist && tar xzf rsagl-demos-${VERSION}.tar.gz)
(cd roguestar-sdist/roguestar-engine-${VERSION} && cabal configure && cabal install)
(cd roguestar-sdist/rsagl-${VERSION} && cabal configure && cabal install)
(cd roguestar-sdist/rsagl-demos-${VERSION} && cabal configure && cabal install)
(cd roguestar-sdist/roguestar-gl-${VERSION} && cabal configure && cabal install)
ls roguestar-sdist
Jump to Line
Something went wrong with that request. Please try again.