~ubuntu-branches/ubuntu/wily/agda/wily-proposed

« back to all changes in this revision

Viewing changes to examples/outdated-and-incorrect/Alonzo/Makefile

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-08-05 06:38:12 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140805063812-io8e77niomivhd49
Tags: 2.4.0.2-1
* [6e140ac] Imported Upstream version 2.4.0.2
* [2049fc8] Update Build-Depends to match control
* [93dc4d4] Install the new primitives
* [e48f40f] Fix typo dev→doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ALONZO=agda -c
2
 
TESTS=Q Printf Proj TestWith
3
 
RTMODS = RTS RTP
4
 
PRELUDEMODS=AlonzoPrelude PreludeBool PreludeNat PreludeList PreludeString \
5
 
  PreludeShow PreludeInt PreludeAll
6
 
 
7
 
tests: prelude #$(TESTS)
8
 
        for i in $(TESTS) ; do \
9
 
          #$(ALONZO) $$i.agda; ghc -c $$i.hs ; \
10
 
          ./almake $$i ; \
11
 
        done
12
 
 
13
 
Q: Q.agda
14
 
        $(ALONZO) Q.agda
15
 
        ghc -c Q.hs
16
 
 
17
 
 
18
 
runtime:
19
 
        ghc -c RTS.hs
20
 
        ghc -c RTN.hs
21
 
        ghc -c RTP.hs
22
 
 
23
 
 
24
 
prelude: runtime
25
 
        for i in $(PRELUDEMODS); do \
26
 
          echo "Compiling $$i"; $(ALONZO) $$i.agda; ghc -c $$i.hs ; \
27
 
        done
28
 
 
29
 
 
30
 
clean:
31
 
        for i in $(PRELUDEMODS); do \
32
 
          rm -f $$i.hs ; \
33
 
        done
34
 
        -rm -f $(TESTS)
35
 
        -rm -f *.hi *.o *~ *.agdai
 
 
b'\\ No newline at end of file'