build: simplify Makefile.target a bit, use just one rule for softmmu
commit5c40c7395db04d4d7f491f116a165db7b8e08bab
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 28 Apr 2014 07:03:03 +0000 (28 11:03 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 May 2014 13:09:04 +0000 (8 15:09 +0200)
tree9c32a84ee62c1676562f09eac9043b16a7dae981
parent5a8b231e7ed39b25e141e8fbbde48203d2361cc2
build: simplify Makefile.target a bit, use just one rule for softmmu

On win*, we build QEMU_PROGW (GUI) and create a console app QEMU_PROG
from it, while on non-win*, we make only QEMU_PROG using the same
rules as used for QEMU_PROGW on win*.  Make just one rule for building
main executable, and an additional rule for win* to make console app
from it.  Also consolidate tests for $(QEMU_PROGW).

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
[Fix user-mode compilation. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile.target