target-ppc: Add Altivec register read/write using XML
[qemu/mini2440.git] / rules.mak
bloba4955da9f30f14adde78eb0b07f907b9325fa597
2 %.o: %.c
3 $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<,CC $@)
5 %.o: %.S
6 $(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<,AS $@)
8 %.o: %.m
9 $(call quiet-command,$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<,OBJC $@)
11 LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(LIBS),LINK $@)
13 %$(EXESUF): %.o
14 $(LINK)
16 %.a:
17 $(call quiet-command,rm -f $@ && $(AR) rcs $@ $^,AR $@)
19 quiet-command = $(if $(V),$1,@echo $2 && $1)