Revision 8d5f07fa Makefile

b/Makefile
1
include config-host.mak
1
-include config-host.mak
2 2

  
3 3
CFLAGS=-Wall -O2 -g -fno-strict-aliasing 
4 4
ifdef CONFIG_DARWIN
......
14 14
ifdef CONFIG_STATIC
15 15
LDFLAGS+=-static
16 16
endif
17
DOCS=qemu-doc.html qemu-tech.html qemu.1
17 18

  
18
all: dyngen$(EXESUF) $(TOOLS) qemu-doc.html qemu-tech.html qemu.1
19
all: dyngen$(EXESUF) $(TOOLS) $(DOCS)
19 20
	for d in $(TARGET_DIRS); do \
20 21
	$(MAKE) -C $$d $@ || exit 1 ; \
21 22
        done
......
29 30
clean:
30 31
# avoid old build problems by removing potentially incorrect old files
31 32
	rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h 
32
	rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS qemu.pod
33
	rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS qemu.pod *~ */*~
33 34
	$(MAKE) -C tests clean
34 35
	for d in $(TARGET_DIRS); do \
35 36
	$(MAKE) -C $$d $@ || exit 1 ; \
36 37
        done
37 38

  
38 39
distclean: clean
39
	rm -f config-host.mak config-host.h
40
	rm -f config-host.mak config-host.h $(DOCS)
40 41
	for d in $(TARGET_DIRS); do \
41 42
	rm -rf $$d || exit 1 ; \
42 43
        done
......
50 51
	install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
51 52
                       pc-bios/vgabios-cirrus.bin \
52 53
                       pc-bios/ppc_rom.bin \
54
                       pc-bios/proll.bin \
53 55
                       pc-bios/linux_boot.bin "$(datadir)"
54 56
	mkdir -p "$(docdir)"
55 57
	install -m 644 qemu-doc.html  qemu-tech.html "$(docdir)"
......
99 101
	$(datadir)/vgabios.bin \
100 102
	$(datadir)/vgabios-cirrus.bin \
101 103
	$(datadir)/ppc_rom.bin \
104
	$(datadir)/proll.bin \
102 105
	$(datadir)/linux_boot.bin \
103 106
	$(docdir)/qemu-doc.html \
104 107
	$(docdir)/qemu-tech.html \

Also available in: Unified diff