view src/audtool/Makefile @ 2391:1ab061263ee8 trunk

[svn] - rework objective make _a lot_
author nenolod
date Tue, 23 Jan 2007 10:22:32 -0800
parents 0358eb5783e6
children 30ab29ed32d8
line wrap: on
line source

include ${top_srcdir}/mk/rules.mk
include ${top_srcdir}/mk/init.mk
include ${top_srcdir}/mk/objective.mk

OBJECTIVE_BINS = audtool

LDFLAGS += $(AUDLDFLAGS)
LDADD = \
	-L../libaudacious -laudacious \
	$(GTK_LIBS)      \
	$(LIBGLADE_LIBS)

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

SOURCES = audtool.c

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

audtool: $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
	@printf "%10s     %-20s\n" LINK $@