summaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-11 17:08:57 +0400
committermalc <av1474@comtv.ru>2009-10-11 17:08:57 +0400
commit02d5467e9f43dac05f04999e387108ca4c8ba140 (patch)
tree049c331848f09f68ffffd77ee83ec9d07d411322 /rules.mak
parent868dc0b4ad0911a3db923bc61c6963089506f37c (diff)
Move dependency generation falgs out of configure
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'rules.mak')
-rw-r--r--rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mak b/rules.mak
index ca95351d9..fa8bb6f8b 100644
--- a/rules.mak
+++ b/rules.mak
@@ -11,6 +11,8 @@ MAKEFLAGS += -rR
%.m:
%.mak:
+QEMU_CFLAGS += -MMD -MP -MT $@
+
%.o: %.c
$(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) -c -o $@ $<," CC $(TARGET_DIR)$@")