Revision 1f50f8d1 Makefile

b/Makefile
10 10
ifndef CONFIG_WIN32
11 11
TOOLS=qemu-mkcow
12 12
endif
13
ifdef CONFIG_STATIC
14
LDFLAGS+=-static
15
endif
13 16

  
14 17
all: dyngen$(EXESUF) $(TOOLS) qemu-doc.html qemu-tech.html qemu.1
15 18
	for d in $(TARGET_DIRS); do \
......
17 20
        done
18 21

  
19 22
qemu-mkcow: qemu-mkcow.c
20
	$(CC) $(CFLAGS) $(DEFINES) -o $@ $^ $(LIBS)
23
	$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ $(LIBS)
21 24

  
22 25
dyngen$(EXESUF): dyngen.c
23 26
	$(HOST_CC) $(CFLAGS) $(DEFINES) -o $@ $^
......
45 48
	mkdir -p "$(sharedir)"
46 49
	install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
47 50
                       pc-bios/linux_boot.bin "$(sharedir)"
51
	mkdir -p "$(docdir)"
52
	install -m 644 qemu-doc.html  qemu-tech.html "$(docdir)"
48 53
ifndef CONFIG_WIN32
49 54
	mkdir -p "$(mandir)/man1"
50 55
	install qemu.1 qemu-mkcow.1 "$(mandir)/man1"
......
86 91
        $(prefix)/bin/qemu-arm \
87 92
        $(prefix)/bin/qemu-sparc \
88 93
        $(prefix)/bin/qemu-ppc \
94
        $(prefix)/bin/qemu-mkcow \
89 95
	$(sharedir)/bios.bin \
90 96
	$(sharedir)/vgabios.bin \
91
	$(mandir)/man1/qemu.1 )
97
	$(sharedir)/linux_boot.bin \
98
	$(docdir)/qemu-doc.html \
99
	$(docdir)/qemu-tech.html \
100
	$(mandir)/man1/qemu.1 $(mandir)/man1/qemu-mkcow.1 )
92 101

  
93 102
ifneq ($(wildcard .depend),)
94 103
include .depend

Also available in: Unified diff