Diff for /qemu/rules.mak between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 17:34:27 version 1.1.1.4, 2018/04/24 18:24:00
Line 12  MAKEFLAGS += -rR Line 12  MAKEFLAGS += -rR
 %.mak:  %.mak:
   
 # Flags for dependency generation  # Flags for dependency generation
 QEMU_DGFLAGS += -MMD -MP -MT $@  QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d
   
 %.o: %.c $(GENERATED_HEADERS)  %.o: %.c
         $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  CC    $(TARGET_DIR)$@")          $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  CC    $(TARGET_DIR)$@")
   
 %.o: %.S  %.o: %.S
Line 23  QEMU_DGFLAGS += -MMD -MP -MT $@ Line 23  QEMU_DGFLAGS += -MMD -MP -MT $@
 %.o: %.m  %.o: %.m
         $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  OBJC  $(TARGET_DIR)$@")          $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<,"  OBJC  $(TARGET_DIR)$@")
   
 LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(1) $(ARLIBS_BEGIN) $(ARLIBS) $(ARLIBS_END) $(LIBS),"  LINK  $(TARGET_DIR)$@")  LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(1) $(LIBS),"  LINK  $(TARGET_DIR)$@")
   
 %$(EXESUF): %.o  %$(EXESUF): %.o
         $(call LINK,$^)          $(call LINK,$^)
Line 39  quiet-command = $(if $(V),$1,$(if $(2),@ Line 39  quiet-command = $(if $(V),$1,$(if $(2),@
 cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \  cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \
               >/dev/null 2>&1 && echo OK), $2, $3)                >/dev/null 2>&1 && echo OK), $2, $3)
   
   VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi
   set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1)))
   
 # Generate timestamp files for .h include files  # Generate timestamp files for .h include files
   
 %.h: %.h-timestamp  %.h: %.h-timestamp

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com