]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
only compile what is needed, touching the headers still doesn't trigger site wide...
authorMiek Gieben <miekg@NLnetLabs.nl>
Thu, 6 Apr 2006 10:16:04 +0000 (10:16 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Thu, 6 Apr 2006 10:16:04 +0000 (10:16 +0000)
Makefile.in

index 9e64af6a0b17248afba534708fe7a5233c1076c0..31959a33aadef52787145257b54090dc2fcdd237 100644 (file)
@@ -68,8 +68,18 @@ COMP_LIB     = $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS)
 LINK           = $(CC) $(CFLAGS) $(LDFLAGS)
 LINK_LIB       = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -release $(VERSION)
 
-%.o:   $(srcdir)/%.c $(LIBDNS_HEADERS)
-       $(COMP_LIB) -c $<
+#%.o:  $(srcdir)/%.c $(LIBDNS_HEADERS)
+#      $(COMP_LIB) -c $<
+
+.c.o:  
+       $(COMPILE) -c $<
+
+.c.obj:
+       $(COMP_LIB) -c '$<'`
+
+.c.lo: 
+       $(COMP_LIB) -c -o $@ $<
+
 
 .PHONY:        clean realclean docclean doc lint all lib
 .PHONY: install uninstall install-doc uninstall-doc