fix(library): add LEAN_VERSION_FILE to Makefile.common

This commit is contained in:
Soonho Kong 2014-08-14 18:21:19 -07:00
parent 74b665ea06
commit caa47b9a70

View file

@ -7,11 +7,11 @@ LEAN_VERSION_FILE = $(shell dirname $(LEAN))/version
all: $(OLEAN_FILES) $(DEP_FILES)
%.olean: %.lean
%.olean: %.lean $(LEAN_VERSION_FILE)
@rm -f $@
$(LEAN) $(LEAN_OPTIONS) $< -o $@ -c $(@:.olean=.clean) -i $(@:.olean=.ilean)
%.d: %.lean
%.d: %.lean $(LEAN_VERSION_FILE)
@echo Making dependency file \'$@\' ...
@rm -f $@
@rm -f $@.tmp