aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 973b8c09d76419cb101efb1e4b04a0c65bacb72a (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)

ponymix: ponymix.o

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

check: ponymix
	./runtests ./ponymix

clean:
	$(RM) ponymix ponymix.o