diff src/tests/Makefile @ 3291:02335e399a16 trunk

Test functor extension code from outside scope.
author William Pitcock <nenolod@atheme-project.org>
date Thu, 09 Aug 2007 09:38:21 -0500
parents 740c6f845554
children 78a6f3ba9f34
line wrap: on
line diff
--- a/src/tests/Makefile	Thu Aug 09 09:22:08 2007 -0500
+++ b/src/tests/Makefile	Thu Aug 09 09:38:21 2007 -0500
@@ -2,7 +2,8 @@
 include ../../mk/init.mk
 include ../../mk/objective.mk
 
-OBJECTIVE_LIBS_NOINST = tuple_formatter_test
+OBJECTIVE_LIBS_NOINST = tuple_formatter_test \
+	tuple_formatter_functor_test
 
 LDFLAGS += $(AUDLDFLAGS)
 LDADD = \
@@ -28,3 +29,10 @@
 	@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 $@