2 <!-- host compiler build rules -->
3 <rule target="host" entity="executable">
4 $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) -o $@ $^," HOSTCC $(TARGET_DIR)$@")
6 <rule target="host" entity="object">
7 $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) $(HOSTINCLUDES) -c -o $@ $<," HOSTCC $(TARGET_DIR)$@")
9 <rule target="host" entity="object" extracflags="1">
10 $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) $(HOSTINCLUDES)</rule>
11 <rule target="host" entity="object" extracflags="2"> -c -o $@ $<," HOSTCC $(TARGET_DIR)$@")
13 <rule target="host" entity="library">
14 $(call quiet--command,$(AR) cru $@ $^; $(RANLIB) $@," HOSTAR $(TARGET_DIR)$@")
16 <rule target="host" entity="fcode">
17 $(call quiet-command,$(TOKE) -o $@ $^," TOKE $(TARGET_DIR)$@")
20 <!-- target/cross compiler build rules -->
21 <rule target="target" entity="executable">
22 $(call quiet-command,$(CC) $(CFLAGS) -o $@ $^," CC $(TARGET_DIR)$@")
24 <rule target="target" entity="object">
25 $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $<," CC $(TARGET_DIR)$@")
27 <rule target="target" entity="object" extracflags="1">
28 $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES)</rule>
29 <rule target="target" entity="object" extracflags="2"> -c -o $@ $<," CC $(TARGET_DIR)$@")
31 <rule target="target" entity="library">
32 $(call quiet-command,$(AR) cru $@ $^; $(RANLIB) $@," AR $(TARGET_DIR)$@")