summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-07-10 22:21:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-07-10 22:21:58 +0000
commitbcc6a34137bd032497531026d1f97a01a52f22c7 (patch)
tree0c115594e4c21894b5d4b589e1cb2e29c5d66929
parent3f3fcc16c0cecfa765d62f341faf77dcad761563 (diff)
downloadlibhubbub-bcc6a34137bd032497531026d1f97a01a52f22c7.tar.gz
libhubbub-bcc6a34137bd032497531026d1f97a01a52f22c7.tar.bz2
Fix the FIXME -- OS X was clearly being stupid earlier. This works fine on real OSen.
svn path=/trunk/hubbub/; revision=4579
-rw-r--r--test/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/Makefile b/test/Makefile
index b2061c8..72ad345 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -76,12 +76,8 @@ $(2): $(1)
endef
# Build rules for each test binary -- they all depend on the debug library
-# FIXME - these need to depend on the debug library, so they're rebuilt when
-# it changes. Simply adding it to the prerequisites list causes all test
-# drivers to be rebuilt every time, regardless of if there have been any
-# changes.
define compile_test
-$(2): $(3)
+$(2): $(3) $(TOP)/$(COMPONENT)-debug.a
@$$(ECHO) $$(ECHOFLAGS) "==> $(1)"
@$$(CC) -c -g $$(DEBUGCFLAGS) -o $$@.o $(1)
@$$(LD) -g -o $$@ $$@.o $$(LDFLAGS) -lhubbub-debug -lgcov