HDRS := $(wildcard *.hpp) PREFIX ?= /usr/local INCLUDEDIR ?= $(PREFIX)/include install: $(HDRS) mkdir -p $(INCLUDEDIR)/sc install -c -m 0666 $(HDRS) $(INCLUDEDIR)/sc