From 1e76b09595fc9ba46d725debcb08c3f5d0dd6275 Mon Sep 17 00:00:00 2001 From: evgeny Date: Sun, 3 Jul 2016 20:34:26 +0300 Subject: initial --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3