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