view audtool/Makefile @ 1397:86242883ddc7 trunk

[svn] - handle a situation where ID3 tags are bolted on the front. (BladeEnc -- I am looking at you, and I am not very happy.)
author nenolod
date Wed, 12 Jul 2006 21:16:35 -0700
parents 2419d0da1725
children 04730ff1693d
line wrap: on
line source

include ../mk/rules.mk
include ../mk/objective.mk

beepincludedir = $(includedir)/audacious

OBJECTIVE_BINS = audtool

LDFLAGS += -Wl,-export-dynamic
LDADD = \
	$(GTK_LIBS)      \
	$(LIBGLADE_LIBS) \
	-L.. $(LTLIBINTL)     \
	-L../libaudacious -laudacious

CFLAGS += \
	$(GTK_CFLAGS)      \
	$(LIBGLADE_CFLAGS) \
	$(BEEP_DEFINES)    \
	$(ARCH_DEFINES)    \
	-I..    \
	-I../intl

SOURCES = audtool.c

OBJECTS = ${SOURCES:.c=.o}

audtool: $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
	@printf "%10s     %-20s\n" LINK $@