Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (31 sloc) 0.697 kb
9bdcc46 First version
eb authored
1 DB = --user
2 PREFIX = $(HOME)
3 GHCOPTS =
4
2546ded Using cabal to build the RTS too
eb authored
5 package:
936eb5b Update Makefile and README.MAc
eb authored
6 cabal build
9bdcc46 First version
eb authored
7
5fe6bd7 Update .cabal, add epicMemInfo
eb authored
8 cabal-package:
936eb5b Update Makefile and README.MAc
eb authored
9 cabal sdist
5fe6bd7 Update .cabal, add epicMemInfo
eb authored
10
9bdcc46 First version
eb authored
11 configure:
936eb5b Update Makefile and README.MAc
eb authored
12 cabal configure --user --ghc --prefix=$(PREFIX)
2546ded Using cabal to build the RTS too
eb authored
13 # cd Epic; echo "module Epic.Prefix where libprefix=\"$(PREFIX)\"" > Prefix.hs
9bdcc46 First version
eb authored
14
15 rts:
16 $(MAKE) -C evm
17
2546ded Using cabal to build the RTS too
eb authored
18 install: .PHONY
d22f857 Various tweaks and bug fixes, plus lazy foreign calls
eb authored
19 $(MAKE) -C evm install PREFIX=$(PREFIX)
20 $(MAKE) -C lib install PREFIX=$(PREFIX)
936eb5b Update Makefile and README.MAc
eb authored
21 cabal install $(DB)
9bdcc46 First version
eb authored
22
23 unregister:
936eb5b Update Makefile and README.MAc
eb authored
24 cabal unregister $(DB)
9bdcc46 First version
eb authored
25
26 doc:
936eb5b Update Makefile and README.MAc
eb authored
27 cabal haddock
9bdcc46 First version
eb authored
28
29 clean:
936eb5b Update Makefile and README.MAc
eb authored
30 cabal clean
9bdcc46 First version
eb authored
31 $(MAKE) -C evm clean
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
32 cd compiler; rm -f *.o *.hi epic
9bdcc46 First version
eb authored
33
6e4fec4 Added basic test script
eb authored
34 test:
35 make -C tests
36
e241346 Added start of OTTLang definition, and a README
eb authored
37 epic: .PHONY configure package install
56561a3 Fixed scoping bug, and make sure dummy values are initialised
eb authored
38 cd compiler; ghc $(GHCOPTS) Main.lhs -o epic -package epic
9bdcc46 First version
eb authored
39
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
40 epic_install: epic
41 install compiler/epic $(PREFIX)/bin
9bdcc46 First version
eb authored
42
43 .PHONY:
Something went wrong with that request. Please try again.