diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-12-31 17:05:35 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-01 20:58:58 -0500 |
commit | 2a529357b7516922c600e5e95815da9f32dda3c9 (patch) | |
tree | a594529fc207d6bb8bb3042184618853cdc15316 /Makefile | |
download | mirror-ponymix-2a529357b7516922c600e5e95815da9f32dda3c9.tar.gz mirror-ponymix-2a529357b7516922c600e5e95815da9f32dda3c9.tar.bz2 mirror-ponymix-2a529357b7516922c600e5e95815da9f32dda3c9.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e6cb6ca --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +CXX = g++ -std=c++11 + +base_CFLAGS = -Wall -Wextra -pedantic -O2 -g +base_LIBS = -lm + +libpulse_CFLAGS = $(shell pkg-config --cflags libpulse) +libpulse_LIBS = $(shell pkg-config --libs libpulse) + +CXXFLAGS := $(base_CFLAGS) $(libpulse_CFLAGS) $(CXXFLAGS) +LDLIBS := $(base_LIBS) $(libpulse_LIBS) + +all: ponymix + +ponymix: ponymix.cc pulse.o +pulse.o: pulse.cc pulse.h + +install: ponymix + install -Dm755 ponymix $(DESTDIR)/usr/bin/ponymix + install -Dm644 ponymix.1 $(DESTDIR)/usr/share/man/man1/ponymix.1 + +clean: + $(RM) ponymix pulse.o |