feat(library/Makefile.common): generate .ilean files

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-14 18:02:36 -07:00
parent 29a7d6d05a
commit 2225a2acc5

View file

@ -9,7 +9,7 @@ all: $(OLEAN_FILES) $(DEP_FILES)
%.olean: %.lean
@rm -f $@
$(LEAN) $(LEAN_OPTIONS) $< -o $@ -c $(@:.olean=.clean)
$(LEAN) $(LEAN_OPTIONS) $< -o $@ -c $(@:.olean=.clean) -i $(@:.olean=.ilean)
%.d: %.lean
@echo Making dependency file \'$@\' ...
@ -27,4 +27,5 @@ all: $(OLEAN_FILES) $(DEP_FILES)
clean:
find . -type f -name "*.olean" -delete
find . -type f -name "*.clean" -delete
find . -type f -name "*.ilean" -delete
find . -type f -name "*.d" -delete