jk0 / audacious-announcer

A simple utility that prints the current track playing in Audacious

jk0 (author)
Thu Mar 19 19:49:15 -0700 2009
audacious-announcer / Makefile
100755 20 lines (15 sloc) 0.392 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Source, Executable, Includes, Library Defines
SRC = audacious-announcer.c
LIBS = -laudclient
EXE = aa
 
# Compiler, Linker Defines
CC = gcc
CFLAGS = -Wall -Werror `pkg-config --cflags dbus-glib-1`
LDFLAGS = ${CFLAGS} -o ${EXE} ${LIBS}
 
# File System Definitions
prefix = /usr/local
bindir = ${prefix}/bin
 
all : audacious-announcer.c
${CC} ${SRC} ${LDFLAGS}
 
install :
cp ${EXE} ${bindir}