summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2edca131019c1a062863a25bbff6736fac08c35b (plain)
1
2
3
4
5
6
7
8
9
10
11
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