mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.1527.1.1 (42933814hYUdPBrhJ2nEsS5J3nRP8Q)
Another xcutil Makefile 'fix'. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
e8968bea9c
commit
2584935836
1 file changed
+3
-5
@@ -39,15 +39,13 @@ all: build
|
||||
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
|
||||
[ -d $(DESTDIR)$(PROGRAMS_INSTALL_DIR) ] || \
|
||||
|
||||