feat(library/Makefile.common): generate .ilean files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
29a7d6d05a
commit
2225a2acc5
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ all: $(OLEAN_FILES) $(DEP_FILES)
|
||||||
|
|
||||||
%.olean: %.lean
|
%.olean: %.lean
|
||||||
@rm -f $@
|
@rm -f $@
|
||||||
$(LEAN) $(LEAN_OPTIONS) $< -o $@ -c $(@:.olean=.clean)
|
$(LEAN) $(LEAN_OPTIONS) $< -o $@ -c $(@:.olean=.clean) -i $(@:.olean=.ilean)
|
||||||
|
|
||||||
%.d: %.lean
|
%.d: %.lean
|
||||||
@echo Making dependency file \'$@\' ...
|
@echo Making dependency file \'$@\' ...
|
||||||
|
@ -27,4 +27,5 @@ all: $(OLEAN_FILES) $(DEP_FILES)
|
||||||
clean:
|
clean:
|
||||||
find . -type f -name "*.olean" -delete
|
find . -type f -name "*.olean" -delete
|
||||||
find . -type f -name "*.clean" -delete
|
find . -type f -name "*.clean" -delete
|
||||||
|
find . -type f -name "*.ilean" -delete
|
||||||
find . -type f -name "*.d" -delete
|
find . -type f -name "*.d" -delete
|
||||||
|
|
Loading…
Reference in a new issue