summaryrefslogtreecommitdiff
path: root/Makefile
blob: bd72602e5b3d22c2f0529854fcc5daf3d27a79a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC=gcc
LIBS=alsa dbus-1
CFLAGS=-std=gnu99 -Wall -pedantic -Wextra `pkg-config --cflags ${LIBS}`
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