BINDIR = $(HOME)/bin TARGETS = mkheader.py isprime multi-send-key all: $(TARGETS) @echo "Nothing to be done" install: @echo "Installing the following scripts to $(BINDIR)" @echo " $(TARGETS)" @install -m755 -t $(BINDIR) $(TARGETS) uninstall: @echo "Uninstalling the following scripts from $(BINDIR):" @echo " $(TARGETS)" @for s in $(TARGETS); do rm -f "$(BINDIR)/$${s}"; done