diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 19:34:56 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 19:34:56 +0100 |
commit | 9ac650d825b140cbd1c2eac378ccdd7b3c52c86e (patch) | |
tree | 65dff2e3ba741c62e96e3240585e9e65c717373c /tools/xenbackendd/Makefile | |
parent | 61d0fe74c6d60cd184afdf4f4566f421c90816ce (diff) | |
download | xen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.tar.gz xen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.tar.bz2 xen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.zip |
tools: remove pattern matched linking rules
Most subdirs only build a single tool to start with and those which
build multiple tools often have different linkage requirements.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenbackendd/Makefile')
-rw-r--r-- | tools/xenbackendd/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/xenbackendd/Makefile b/tools/xenbackendd/Makefile index eaf0313fba..0d3edc8dc9 100644 --- a/tools/xenbackendd/Makefile +++ b/tools/xenbackendd/Makefile @@ -17,13 +17,11 @@ CFLAGS += $(CFLAGS_libxenstore) CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\"" LDLIBS += $(LDLIBS_libxenstore) -SBIN = xenbackendd - .PHONY: all all: build .PHONY: build -build: $(SBIN) +build: xenbackendd .PHONY: install install: build @@ -32,10 +30,9 @@ install: build .PHONY: clean clean: - rm -f $(SBIN) $(DEPS) - + rm -f $(DEPS) -%: %.o Makefile +xenbackendd: xenbackendd.o $(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) -include $(DEPS) |