aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c327aa1297550684b8add63321723fef68e4c0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS := -Wall -Wextra -pedantic -O2 -g -D_REENTRANT $(CFLAGS)
LDFLAGS := -lpulse -lm $(LDFLAGS)

pulsemix: pulsemix.o

install: pulsemix
	install -Dm755 pulsemix $(DESTDIR)/usr/bin/pulsemix
	install -Dm644 pulsemix.1 $(DESTDIR)/usr/share/man/man1/pulsemix.1

check: pulsemix
	./runtests ./pulsemix

clean:
	$(RM) pulsemix pulsemix.o