Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fblanqui committed Jan 20, 2025
1 parent d0d4f0a commit e697131
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,12 @@ lpsig: $(BASE_FILES:%=%.lp)
$(BASE_FILES:%=%.lp) &:
$(HOL2DK) sig $(BASE).lp

.PHONY: sig
sig: $(BASE_FILES:%=%.vo)

.PRECIOUS: $(BASE_FILES:%=%.v)
.PHONY: vsig
vsig: $(BASE_FILES:%=%.v)

include deps.mk
theory_hol.vo: $(VOFILES)
$(BASE)_types.vo: theory_hol.vo
$(BASE)_terms: $(BASE)_type_abbrevs.vo
$(BASE)_axioms: $(BASE)_terms.vo
.PHONY: sig
sig: vsig
$(MAKE) INCLUDE_VO_MK=1 $(BASE_FILES:%=%.vo)

.PHONY: single
single: $(BASE).lp
Expand Down Expand Up @@ -245,7 +241,8 @@ ifeq ($(INCLUDE_VO_MK),1)
include vo.mk

vo.mk: lpo.mk
sed -e 's/\.lp/.v/g' -e "s/^theory_hol.vo:/theory_hol.vo: $(VOFILES) /" lpo.mk > $@
cp deps.mk $@
sed -e 's/\.lp/.v/g' -e "s/^theory_hol.vo:/theory_hol.vo: $(VOFILES) /" lpo.mk >> $@
endif

.PHONY: dep
Expand Down

0 comments on commit e697131

Please sign in to comment.