]> mj.ucw.cz Git - libucw.git/commitdiff
Dependencies of test programs are no longer hard-wired in the rules.
authorMartin Mares <mj@ucw.cz>
Sat, 25 Aug 2007 14:27:39 +0000 (16:27 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 25 Aug 2007 14:27:39 +0000 (16:27 +0200)
build/Makebottom

index 3214cac526069511c327cb21b6d646ee8801c768..bf342b0cea618849897f0c1bc82a8e8cd829dad8 100644 (file)
@@ -120,7 +120,7 @@ $(o)/%-tt.o: $(s)/%.c $(o)/autoconf.h
 
 # Rules for testing
 
-$(o)/%-t: $(o)/%-tt.o $(LIBSH)
+$(o)/%-t: $(o)/%-tt.o $(TESTING_DEPS)
        $(M)LD-TEST $@
        $(Q)$(CC) $(LDFLAGS) -o $@ $(shell $(s)/build/lib-flags $^) $(LIBS)