Mailing List Archive

debian tools-misc-TARGETS.patch (1 of 5)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
distcc behaves much better when you compile and link in 2 separate steps.
Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
DiffStat:
tools/misc/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)

--- xen-2.0.4.orig/tools/misc/Makefile
+++ xen-2.0.4/tools/misc/Makefile
@@ -34,5 +34,8 @@
$(RM) *.o $(TARGETS) *~
$(MAKE) -C miniterm clean

-%: %.c $(HDRS) Makefile
+%.o: %.c $(HDRS) Makefile
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(TARGETS): %: %.o Makefile
$(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxc -L$(XEN_LIBXUTIL) -lxutil



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel