1prefix ?= /usr 2tool = hw-probe 3tool_dir = $(DESTDIR)$(prefix)/bin 4 5.PHONY: all 6 7all: 8 echo "Nothing to build." 9 10install: 11 mkdir -p $(tool_dir) 12 install -m 755 $(tool).pl $(tool_dir)/$(tool) 13 14uninstall: 15 rm -f $(tool_dir)/$(tool) 16 17clean: 18 echo "Nothing to clean up." 19