view audtool/Makefile.in @ 1205:ba0ce9c62110 trunk

[svn] - hookup buildsystem
author nenolod
date Wed, 14 Jun 2006 00:02:18 -0700
parents a09393433f83
children
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 $@