]> git.proxmox.com Git - mirror_qemu.git/commit - Makefile
Makefile: fix dependencies for generated .h, .c
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Nov 2011 21:58:18 +0000 (23:58 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 17 Nov 2011 17:15:31 +0000 (15:15 -0200)
commit599825c565f4e5f0790ff61ef14574b463e3b710
tree99bd72984ae5b4664c329f52a15d7017d6ad542b
parent611b727374ad76fb0078ea65bc1387194913980e
Makefile: fix dependencies for generated .h, .c

We have a single rule generating .c and .h files,
so .h doesn't depend on .c: both depend on the
source schema.

Fix Makefile to reflect that - without this,
if .c is there and .h is missing, Makefile does
not know how to remake .h and assumes it's
a dummy target, triggering endless rebuilds.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Makefile