view audtool/Makefile @ 1223:f1e57db353a3 trunk

[svn] - Don't crash when we encounter an unsupported NSF/NSFE type
author nenolod
date Wed, 14 Jun 2006 16:59:24 -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 $@