blob: 39445396f431ab08e092d4d57fccf0154e49e692 (
plain) (
tree)
|
|
.POSIX:
.PHONY: all install clean
.SUFFIXES:
.SUFFIXES: .bash
ALL = nscaw
BASH = /bin/bash
PREFIX = /usr/local
all: $(ALL)
.bash:
$(BASH) -c :
awk -v interpreter=$(BASH) 'NR == 1 { $$1 ="#!" interpreter } 1' $< > $@
chmod +x ./$@
install: nscaw
cp -- nscaw $(PREFIX)/bin
clean:
rm -f -- $(ALL)
|