CC = gcc CFLAGS = -O2 -g -Wall -Werror `pkg-config --cflags gthread-2.0 alsa` LIBS = `pkg-config --libs gthread-2.0 alsa` all: alsa-monitor clean: rm -f alsa-monitor alsa-monitor: alsa-monitor.c Makefile $(CC) $(CFLAGS) -o $@ $< $(LIBS)