aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 39445396f431ab08e092d4d57fccf0154e49e692 (plain) (tree)
1
2
3
4
5
6
7
       
                         
          


                
                   





                                                                                
                                 

                       
.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)