Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 44 lines (31 sloc) 0.797 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:
6 runhaskell Setup.hs build
9bdcc46 First version
eb authored
7
5fe6bd7 Update .cabal, add epicMemInfo
eb authored
8 cabal-package:
2546ded Using cabal to build the RTS too
eb authored
9 runhaskell Setup.hs sdist
5fe6bd7 Update .cabal, add epicMemInfo
eb authored
10
9bdcc46 First version
eb authored
11 configure:
2546ded Using cabal to build the RTS too
eb authored
12 runhaskell Setup.hs configure --user --ghc --prefix=$(PREFIX)
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
19 #$(MAKE) -C evm install PREFIX=$(PREFIX)
841f1c1 Basic separate compilation support
eb authored
20 #$(MAKE) -C lib install PREFIX=$(PREFIX)
2546ded Using cabal to build the RTS too
eb authored
21 runhaskell Setup.hs install $(DB)
9bdcc46 First version
eb authored
22
23 unregister:
2546ded Using cabal to build the RTS too
eb authored
24 runhaskell Setup.hs unregister $(DB)
9bdcc46 First version
eb authored
25
26 doc:
2546ded Using cabal to build the RTS too
eb authored
27 runhaskell Setup.hs haddock
9bdcc46 First version
eb authored
28
29 clean:
2546ded Using cabal to build the RTS too
eb authored
30 runhaskell Setup.hs 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.