summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorevgeny <me@ch1p.com>2016-07-03 20:34:26 +0300
committerevgeny <me@ch1p.com>2016-07-03 20:34:26 +0300
commit1e76b09595fc9ba46d725debcb08c3f5d0dd6275 (patch)
tree0390e3f41800ee1ea29790623d301d552dda6dd6 /Makefile
initial
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2edca13
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CC=gcc
+CFLAGS=-std=gnu99 -Wall -pedantic -Wextra `pkg-config --cflags ${LIBS}`
+LIBS=alsa dbus-1
+LDFLAGS=`pkg-config --libs ${LIBS}`
+
+all: main
+
+main: main.o
+ ${CC} ${LDFLAGS} main.o -o alsa-volume-monitor
+
+main.o:
+ ${CC} ${CFLAGS} -c main.c