[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Another xcutil Makefile 'fix'.



ChangeSet 1.1528, 2005/05/24 15:20:04+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Another xcutil Makefile 'fix'.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 Makefile |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


diff -Nru a/tools/xcutils/Makefile b/tools/xcutils/Makefile
--- a/tools/xcutils/Makefile    2005-05-24 11:02:46 -04:00
+++ b/tools/xcutils/Makefile    2005-05-24 11:02:46 -04:00
@@ -39,14 +39,12 @@
 build: $(PROGRAMS)
 
 define PROGRAM_template
- $(1): $$($(1)_OBJS)
- ALL_OBJS      += $$($(1)_OBJS)
+$(1): $$($(1)_OBJS)
+       $$(LINK.o) $$^ $$(LDLIBS) -o $$@
+ALL_OBJS       += $$($(1)_OBJS)
 endef
 
 $(foreach prog,$(PROGRAMS),$(eval $(call PROGRAM_template,$(prog))))
-
-$(PROGRAMS):
-       $(LINK.o) $^ $(LDLIBS) -o $@
 
 .PHONY: install
 install: build

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.