From 58561f5b718a8407e3e353cf461c19bbf91d7f95 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Mon, 1 Mar 2010 18:02:29 -0500 Subject: [PATCH] build lib with thumb --- Makefile.include | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.include b/Makefile.include index e23947a37..1cf2476c7 100644 --- a/Makefile.include +++ b/Makefile.include @@ -67,6 +67,10 @@ $(ISR): $(ISR:.o=.c) %.dis: %.elf $(OBJDUMP) -SD $< > $@ +%.o: %.c + $(CC) $(CFLAGS) $(THUMB_FLAGS) -MMD -c -o $@ $< + @$(FINALIZE_DEPENDENCY) + $(OBJDIR)/%.s: %.S $(CPP) $(AFLAGS) -o $@ $< $(OBJDIR)/%.o: %.S