aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1b7df79157c62a7cdc1abba6295de41457f0b642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc -std=gnu99
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