Commit e35c55fe38faea68eb9356163f52a426e533d79b
1 parent
acd935ef
windows install fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1152 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
4 deletions
Makefile
... | ... | @@ -10,7 +10,7 @@ endif |
10 | 10 | LDFLAGS=-g |
11 | 11 | LIBS= |
12 | 12 | DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
13 | -TOOLS=qemu-img | |
13 | +TOOLS=qemu-img$(EXESUF) | |
14 | 14 | ifdef CONFIG_STATIC |
15 | 15 | LDFLAGS+=-static |
16 | 16 | endif |
... | ... | @@ -21,7 +21,7 @@ all: dyngen$(EXESUF) $(TOOLS) $(DOCS) |
21 | 21 | $(MAKE) -C $$d $@ || exit 1 ; \ |
22 | 22 | done |
23 | 23 | |
24 | -qemu-img: qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c | |
24 | +qemu-img$(EXESUF): qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c | |
25 | 25 | $(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS) |
26 | 26 | |
27 | 27 | dyngen$(EXESUF): dyngen.c |
... | ... | @@ -44,9 +44,7 @@ distclean: clean |
44 | 44 | |
45 | 45 | install: all |
46 | 46 | mkdir -p "$(bindir)" |
47 | -ifndef CONFIG_WIN32 | |
48 | 47 | install -m 755 -s $(TOOLS) "$(bindir)" |
49 | -endif | |
50 | 48 | mkdir -p "$(datadir)" |
51 | 49 | install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \ |
52 | 50 | pc-bios/vgabios-cirrus.bin \ | ... | ... |