view src/tests/Makefile @ 4350:8071e599916d

renamed BmpCmdLineOpt to AudCmdLineOpt (greatest commit EVAR! ;-)
author mf0102 <0102@gmx.at>
date Sun, 16 Mar 2008 19:02:57 +0100
parents 78a6f3ba9f34
children f997d405fa02
line wrap: on
line source

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

OBJECTIVE_LIBS_NOINST = tuple_formatter_test \
	tuple_formatter_functor_test

LDFLAGS += $(AUDLDFLAGS)
LDADD = \
	$(DBUS_LIBS) \
	$(GTK_LIBS)      \
	$(MOWGLI_LIBS)

CFLAGS += \
	$(GTK_CFLAGS)      \
	$(DBUS_CFLAGS)     \
	$(BEEP_DEFINES)    \
	$(ARCH_DEFINES)    \
	$(MOWGLI_CFLAGS)   \
	-I.. -I../..   \
	-I../intl -I../audacious

COMMON_OBJS = test_harness.o
TFT_OBJS = $(COMMON_OBJS) tuple_formatter_test.o ../audacious/tuple.o ../audacious/tuple_formatter.o
tuple_formatter_test: $(TFT_OBJS)
	$(CC) $(LDFLAGS) $(TFT_OBJS) $(LDADD) -o $@
	@printf "%10s     %-20s\n" LINK $@
	./$@
	@printf "%10s     %-20s\n" TEST-PASS $@

TFFT_OBJS = $(COMMON_OBJS) tuple_formatter_functor_test.o ../audacious/tuple.o ../audacious/tuple_formatter.o
tuple_formatter_functor_test: $(TFFT_OBJS)
	$(CC) $(LDFLAGS) $(TFFT_OBJS) $(LDADD) -o $@
	@printf "%10s     %-20s\n" LINK $@
	./$@
	@printf "%10s     %-20s\n" TEST-PASS $@