From 3aa892d75f38c339a1d7e09126e84f06b05b4232 Mon Sep 17 00:00:00 2001 From: aliguori Date: Wed, 21 Jan 2009 18:13:02 +0000 Subject: Consolidate linker rules (Avi Kivity) Use generic rules where posssible, and a LINK macro where not. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6379 c046a42c-6fe2-441c-8c8c-71466251a162 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ea76b69..9068181 100644 --- a/Makefile +++ b/Makefile @@ -188,10 +188,10 @@ libqemu_user.a: $(USER_OBJS) ###################################################################### qemu-img$(EXESUF): qemu-img.o qemu-tool.o osdep.o $(BLOCK_OBJS) - $(CC) $(LDFLAGS) -o $@ $^ -lz $(LIBS) qemu-nbd$(EXESUF): qemu-nbd.o qemu-tool.o osdep.o $(BLOCK_OBJS) - $(CC) $(LDFLAGS) -o $@ $^ -lz $(LIBS) + +qemu-img$(EXESUF) qemu-nbd$(EXESUF): LIBS += -lz clean: # avoid old build problems by removing potentially incorrect old files -- cgit v1.1