aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: b8144feaaee008613d1a2fd0acd72a9f2f05647f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















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