Skip to content

Commit

Permalink
code reorg, makefile, namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vzaliva committed Sep 27, 2018
1 parent d2c84b3 commit 7cb1c60
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ nia.cache
nlia.cache
nra.cache
/README.html
/.coqdeps.d
/Makefile.coq
/Makefile.coq.conf
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
all: Makefile.coq
$(MAKE) -f Makefile.coq

.PHONY: all install html clean distclean

install: Makefile.coq
$(MAKE) -f Makefile.coq install

html: all
$(MAKE) -f Makefile.coq html

clean: Makefile.coq
$(MAKE) -f Makefile.coq clean

distclean: clean
rm -rf Makefile.coq .merlin Makefile.coq.conf

Makefile.coq: _CoqProject
coq_makefile -f _CoqProject -o Makefile.coq

.merlin: Makefile.coq
$(MAKE) -f Makefile.coq .merlin
4 changes: 4 additions & 0 deletions _CoqProject
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-R theories Switch

theories/Switch.v

2 changes: 1 addition & 1 deletion demo.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import switch.
Require Import Switch.Switch.

Require Import Coq.Arith.EqNat.
Require Import Coq.Strings.String.
Expand Down
File renamed without changes.

0 comments on commit 7cb1c60

Please sign in to comment.