all: build-lem

build-lem: 
	rm -f library/lib_cache
	$(MAKE) -C ocaml-lib all
	$(MAKE) -C src all
	ln -sf src/main.native lem

clean:
	$(MAKE) -C src clean
	$(MAKE) -C ocaml-lib clean
	rm -rf lem library/lib_cache
