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

progs = corrupt isascii
scripts = assert do-until errno minimify splitmboxdaily \
	setuppy-debian-versions-match viewprof fix-shebang \
	musictomp3 test-flacs unpack-debian-sources mksparse \
	humanify

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