diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
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 |