Skip to content

Commit

Permalink
Simple build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jashug committed Oct 20, 2020
1 parent ad52b09 commit 67262f8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ paper/*.synctex.gz
paper/*.vtc
paper/whynotw.pdf

code/Makefile.coq
code/Makefile.coq.conf
code/.Makefile.coq.d
code/*.vo
code/*.vok
code/*.vos
code/*.glob
code/.*.aux
16 changes: 16 additions & 0 deletions code/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
all: Makefile.coq
@+$(MAKE) -f Makefile.coq all

clean: Makefile.coq
@+$(MAKE) -f Makefile.coq cleanall
@rm -f Makefile.coq Makefile.coq.conf

Makefile.coq: _CoqProject
$(COQBIN)coq_makefile -f _CoqProject -o Makefile.coq

force _CoqProject Makefile: ;

%: Makefile.coq force
@+$(MAKE) -f Makefile.coq $@

.PHONY: all clean force
3 changes: 3 additions & 0 deletions code/_CoqProject
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-Q . WhyNotW
Nat.v
General.v

0 comments on commit 67262f8

Please sign in to comment.