Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.2.1
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (25 sloc) 0.741 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
HS_FLAGS = -hidir products/ \
-odir products/ \
-isrc/:products \
-Wall \
-fno-warn-type-defaults \
--make src/Main.hs \
-o products/roguestar-engine

default : roguestar-engine

update :
darcs pull --all

install :
install products/roguestar-engine /usr/local/bin/

clean :
-rm -f products/*.o 2> /dev/null
-rm -f products/*.hi 2> /dev/null
-rm -f products/roguestar-engine 2> /dev/null

roguestar-engine :
@echo "warning: you're building with development flags on (-Werror, no optimization)"
@echo " did you want to 'make release' ?"
ghc-6.8.2 -Werror ${HS_FLAGS} -prof -auto-all

release :
ghc -O2 ${HS_FLAGS}

dist:
darcs dist

.PHONY : default clean ghc ghc-release dist headache headache-remove release
Something went wrong with that request. Please try again.