build: Add rule for building host-specific object files

pull/48/merge
Diego Biurrun 11 years ago
parent ad47771024
commit 5a9fcc7d25
  1. 3
      Makefile

@ -46,6 +46,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
%.o: %.S %.o: %.S
$(COMPILE_S) $(COMPILE_S)
%_host.o: %.c
$(COMPILE_HOSTC)
%.i: %.c %.i: %.c
$(CC) $(CCFLAGS) $(CC_E) $< $(CC) $(CCFLAGS) $(CC_E) $<

Loading…
Cancel
Save