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

progs = corrupt isascii
scripts = assert do-until errno minimify onerror splitmboxdaily \
	setuppy-debian-versions-match viewprof

CFLAGS = -Wall -O2 --std=gnu99

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