File:  [Qemu by Fabrice Bellard] / qemu / rules.mak
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:50:38 2018 UTC (3 years, 2 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu0105, qemu0104, qemu0103, qemu0102, qemu0101, qemu0100, HEAD
qemu 0.10.0

    1: 
    2: %.o: %.c
    3: 	$(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<,"  CC    $(TARGET_DIR)$@")
    4: 
    5: %.o: %.S
    6: 	$(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<,"  AS    $(TARGET_DIR)$@")
    7: 
    8: %.o: %.m
    9: 	$(call quiet-command,$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<,"  OBJC  $(TARGET_DIR)$@")
   10: 
   11: LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(LIBS),"  LINK  $(TARGET_DIR)$@")
   12: 
   13: %$(EXESUF): %.o
   14: 	$(LINK)
   15: 
   16: %.a:
   17: 	$(call quiet-command,rm -f $@ && $(AR) rcs $@ $^,"  AR    $(TARGET_DIR)$@")
   18: 
   19: quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1))

unix.superglobalmegacorp.com