Revision 16e9b7de Makefile.target

b/Makefile.target
17 17
QEMU_SYSTEM=qemu
18 18
endif
19 19

  
20
ifndef CONFIG_SOFTMMU
20
ifdef CONFIG_USER_ONLY
21 21
PROGS=$(QEMU_USER)
22
else
23
ifeq ($(ARCH),i386)
24
ifeq ($(TARGET_ARCH), i386)
25
PROGS+=$(QEMU_SYSTEM)
26
endif
27
endif
22 28
endif
23 29

  
24 30
ifdef CONFIG_STATIC
......
41 47
# is the simplest way to make it self virtualizable!
42 48
LDFLAGS+=-Wl,-shared
43 49
endif
44
ifeq ($(TARGET_ARCH), i386)
45
PROGS+=$(QEMU_SYSTEM)
46
endif
47 50
endif
48 51

  
49 52
ifeq ($(ARCH),ppc)
......
171 174
	$(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
172 175

  
173 176
depend: $(SRCS)
174
	$(CC) -MM $(CFLAGS) $^ 1>.depend
177
	$(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
175 178

  
176 179
# libqemu 
177 180

  

Also available in: Unified diff