Mercurial > urweb
annotate src/coq/Makefile @ 1906:0d2fdc2cc46c
Allow building in a separate build directory
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
Makefile.am | 30 +++---
src/c/Makefile.am | 2 +-
src/compiler.mlb | 2 +-
src/sources | 302 +++++++++++++++++++++++++++---------------------------
4 files changed, 168 insertions(+), 168 deletions(-)
author | Anders Kaseorg <andersk@mit.edu> |
---|---|
date | Fri, 22 Nov 2013 09:36:14 -0500 |
parents | 705cb41ac7d0 |
children |
rev | line source |
---|---|
adam@1618 | 1 MODULES := Axioms Name Syntax Semantics |
adam@1618 | 2 VS := $(MODULES:%=%.v) |
adam@1618 | 3 |
adam@1618 | 4 .PHONY: coq clean |
adam@1618 | 5 |
adam@1618 | 6 coq: Makefile.coq |
adam@1618 | 7 make -f Makefile.coq |
adam@1618 | 8 |
adam@1618 | 9 Makefile.coq: Makefile $(VS) |
adam@1618 | 10 coq_makefile -impredicative-set $(VS) -o Makefile.coq |
adam@1618 | 11 |
adam@1618 | 12 clean:: Makefile.coq |
adam@1618 | 13 make -f Makefile.coq clean |
adam@1618 | 14 rm -f Makefile.coq |