aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fbb7a467f17d795fecf4ea2d71e3e64edd6f8446 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.PHONY: all clean
.SUFFIXES:
.SUFFIXES: .bash
ALL = doomsh
BASH = /bin/bash
all:  $(ALL)
.bash:
	$(BASH) -c :
	awk -v interpreter=$(BASH) 'NR == 1 { $$1 ="#!" interpreter } 1' $< > $@
	chmod +x ./$@
clean:
	rm -f -- $(ALL)