Commit acdbc4e6 authored by Ralf Jung's avatar Ralf Jung

permit local Makefile customizations and extra coqfiles

parent fa9d6a7c
Pipeline #31641 passed with stage
in 22 minutes and 23 seconds
# Permit local customization
-include Makefile.local
# Forward most targets to Coq makefile (with some trick to make this phony) # Forward most targets to Coq makefile (with some trick to make this phony)
%: Makefile.coq phony %: Makefile.coq phony
+@make -f Makefile.coq $@ +@make -f Makefile.coq $@
...@@ -14,7 +17,7 @@ clean: Makefile.coq ...@@ -14,7 +17,7 @@ clean: Makefile.coq
# Create Coq Makefile. # Create Coq Makefile.
Makefile.coq: _CoqProject Makefile Makefile.coq: _CoqProject Makefile
"$(COQBIN)coq_makefile" -f _CoqProject -o Makefile.coq "$(COQBIN)coq_makefile" -f _CoqProject -o Makefile.coq $(EXTRA_COQFILES)
# Install build-dependencies # Install build-dependencies
build-dep/opam: opam Makefile build-dep/opam: opam Makefile
...@@ -36,6 +39,7 @@ build-dep: build-dep/opam phony ...@@ -36,6 +39,7 @@ build-dep: build-dep/opam phony
Makefile: ; Makefile: ;
_CoqProject: ; _CoqProject: ;
opam: ; opam: ;
Makefile.local: ;
# Phony wildcard targets # Phony wildcard targets
phony: ; phony: ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment