aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: a6b89f261b3a051f9000e67fefdf7d0104e754f6 (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)
LDLIBS := -lpulse -lm

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