.PHONY: install uninstall all

# Create empty dependencies file so parent makefile will launch install target on the make install step
all:


install:
	$(if $(PY_SIL_VENV), . $(PY_SIL_VENV)/bin/activate && ) \
	python3 -m pip install ./pysilcommonlibrary && \
	python3 -m pip install ./pycontrollibrary && \
	python3 -m pip install ./pyncxlibrary && \
	python3 -m pip install ./pysillibrary && \
	echo "Installation completed."

uninstall:
	$(if $(PY_SIL_VENV), . $(PY_SIL_VENV)/bin/activate && ) \
	python3 -m pip uninstall -y pySILCommon pyControl pyNCX pySIL
