Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (29 sloc) 0.763 kb
9bdcc46 First version
eb authored
1 DB = --user
2 PREFIX = $(HOME)
3 GHCOPTS =
4
5 package: rts
6 runhaskell Setup.lhs build
7
8 configure:
9 runhaskell Setup.lhs configure --user --ghc --prefix=$(PREFIX)
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
10 cd Epic; echo "module Epic.Prefix where libprefix=\"$(PREFIX)\"" > Prefix.hs
9bdcc46 First version
eb authored
11
12 rts:
13 $(MAKE) -C evm
14
15 install: .PHONY rts
16 $(MAKE) -C evm install PREFIX=$(PREFIX)
841f1c1 Basic separate compilation support
eb authored
17 #$(MAKE) -C lib install PREFIX=$(PREFIX)
9bdcc46 First version
eb authored
18 runhaskell Setup.lhs install $(DB)
19
20 unregister:
21 runhaskell Setup.lhs unregister $(DB)
22
23 doc:
24 runhaskell Setup.lhs haddock
25
26 clean:
27 runhaskell Setup.lhs clean
28 $(MAKE) -C evm clean
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
29 cd compiler; rm -f *.o *.hi epic
9bdcc46 First version
eb authored
30
6e4fec4 Added basic test script
eb authored
31 test:
32 make -C tests
33
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
34 epic: .PHONY package install
35 cd compiler; ghc $(GHCOPTS) --make Main.lhs -o epic -package epic
9bdcc46 First version
eb authored
36
a79437d Renamed to Epic (EPIgram Compiler)
eb authored
37 epic_install: epic
38 install compiler/epic $(PREFIX)/bin
9bdcc46 First version
eb authored
39
40 .PHONY:
Something went wrong with that request. Please try again.