INSTALL_DIR := /usr/sbin
CURR_DIR := $(shell pwd)
TOOLS := spv_ipmi

.PHONY: install $(TOOLS) clean

all: install

install: $(TOOLS)

$(TOOLS):
	@echo "Install $(notdir $@) to $(INSTALL_DIR)"
	@install -m 755 $@ $(INSTALL_DIR)

clean:
	@rm -f $(addprefix $(INSTALL_DIR)/, $(notdir $(TOOLS)))
