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