summaryrefslogtreecommitdiff
path: root/Makefile
blob: 20a7bc98e300397b163c8433b58fa7f9df4d4c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
prefix = /usr/local
bindir = $(prefix)/bin
sharedir = $(prefix)/share
mandir = $(sharedir)/man
man1dir = $(mandir)/man1

progs = isascii
scripts = total

all: $(progs)

install: all
	install -d $(DESTDIR)$(bindir)
	install $(progs) $(scripts) $(DESTDIR)$(bindir)
	install -d $(DESTDIR)$(man1dir)
	install -m 0644 *.1 $(DESTDIR)$(man1dir)

clean:
	rm -f $(progs) *.o