Skip to content

Commit

Permalink
Clean up some settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun committed Dec 12, 2023
1 parent d3b0675 commit b3eb030
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ driver/parser.mli
theories/Parser.v

# Remove Coq compiled code
**/*.vo
**/*.glob
**/*.d
**/.*.aux
**/*.vok
**/*.vos
*.vo
*.glob
*.d
.*.aux
*.vok
*.vos
.lia.cache
makefile.coq*
*.~undo-tree~
12 changes: 1 addition & 11 deletions theories/_CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,4 @@

-arg -w -arg -notation-overridden

LibTactics.v
Syntax.v
System.v
Parser.v
ParserExtraction.v
Elaborator.v
CtxEqLemmas.v
CtxEquiv.v
PresupLemmas.v
Relations.v
Presup.v
.
16 changes: 10 additions & 6 deletions theories/makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
.PHONY: all clean
COQMAKEFILE := makefile.coq

-include makefile.coq
.PHONY: all
all: $(COQMAKEFILE)

all: makefile.coq
make -f "$?"
-include $(COQMAKEFILE)

clean::
rm -f $(COQMAKEFILE)
rm -f $(COQMAKEFILE).conf

Parser.v: Parser.vy
menhir --coq $?
menhir --coq "$?"

makefile.coq: _CoqProject
$(COQMAKEFILE): _CoqProject
coq_makefile -f "$?" -o "$@"

0 comments on commit b3eb030

Please sign in to comment.