$(o)/images/image-test.test: $(o)/images/image-test
TESTS+=$(o)/images/hilbert-test.test
-$(o)/images/hilbert-test: LIBS+=-lm $(LIBUCW)
+$(o)/images/hilbert-test: $(LIBUCW)
+$(o)/images/hilbert-test: LIBS+=-lm
$(o)/images/hilbert-test.test: $(o)/images/hilbert-test
TESTS+=$(o)/images/color.test
-$(o)/images/color-t: LIBS+=$(LIBIMAGES_LIBS) $(LIBIMAGES) $(LIBUCW)
+$(o)/images/color-t: $(LIBIMAGES) $(LIBUCW)
+$(o)/images/color-t: LIBS+=$(LIBIMAGES_LIBS) $(LIBUCW)
$(o)/images/color.test: $(o)/images/color-t