aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 07a5f8473865745ab19da4ce710ee1bf2fbc6f34 (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
	mkdir -p $(DESTDIR)/usr/bin
	install -m755 pulsemix $(DESTDIR)/usr/bin/pulsemix

check: pulsemix
	./runtests ./pulsemix

clean:
	$(RM) pulsemix pulsemix.o