diff --git a/rules.mak b/rules.mak index 54ac88ab3..b38090332 100644 --- a/rules.mak +++ b/rules.mak @@ -1,4 +1,16 @@ +# Don't use implicit rules or variables +# we have explicit rules for everything +MAKEFLAGS += -rR + +# Files with this suffixes are final, don't try to generate them +# using implicit rules +%.d: +%.h: +%.c: +%.m: +%.mak: + %.o: %.c $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) -c -o $@ $<," CC $(TARGET_DIR)$@")