Skip to content
Newer
Older
100644 44 lines (31 sloc) 810 Bytes
9bdcc46 First version
eb authored Jul 19, 2006
1 DB = --user
2 PREFIX = $(HOME)
3 GHCOPTS =
4
5 package: rts
6 runhaskell Setup.lhs build
7
5fe6bd7 Update .cabal, add epicMemInfo
eb authored Apr 26, 2009
8 cabal-package:
9 runhaskell Setup.lhs sdist
10
9bdcc46 First version
eb authored Jul 19, 2006
11 configure:
12 runhaskell Setup.lhs configure --user --ghc --prefix=$(PREFIX)
a79437d Renamed to Epic (EPIgram Compiler)
eb authored Feb 26, 2007
13 cd Epic; echo "module Epic.Prefix where libprefix=\"$(PREFIX)\"" > Prefix.hs
9bdcc46 First version
eb authored Jul 19, 2006
14
15 rts:
16 $(MAKE) -C evm
17
18 install: .PHONY rts
19 $(MAKE) -C evm install PREFIX=$(PREFIX)
841f1c1 Basic separate compilation support
eb authored Jul 23, 2006
20 #$(MAKE) -C lib install PREFIX=$(PREFIX)
9bdcc46 First version
eb authored Jul 19, 2006
21 runhaskell Setup.lhs install $(DB)
22
23 unregister:
24 runhaskell Setup.lhs unregister $(DB)
25
26 doc:
27 runhaskell Setup.lhs haddock
28
29 clean:
30 runhaskell Setup.lhs clean
31 $(MAKE) -C evm clean
a79437d Renamed to Epic (EPIgram Compiler)
eb authored Feb 26, 2007
32 cd compiler; rm -f *.o *.hi epic
9bdcc46 First version
eb authored Jul 19, 2006
33
6e4fec4 Added basic test script
eb authored Jul 22, 2006
34 test:
35 make -C tests
36
e241346 Added start of OTTLang definition, and a README
eb authored May 4, 2007
37 epic: .PHONY configure package install
56561a3 Fixed scoping bug, and make sure dummy values are initialised
eb authored Jun 23, 2008
38 cd compiler; ghc $(GHCOPTS) Main.lhs -o epic -package epic
9bdcc46 First version
eb authored Jul 19, 2006
39
a79437d Renamed to Epic (EPIgram Compiler)
eb authored Feb 26, 2007
40 epic_install: epic
41 install compiler/epic $(PREFIX)/bin
9bdcc46 First version
eb authored Jul 19, 2006
42
43 .PHONY:
Something went wrong with that request. Please try again.