Link floating point library and related/required libraries.

This commit is contained in:
Jared Boone
2013-09-20 15:08:23 -07:00
parent 322dea1884
commit e2d4a501be

View File

@ -110,7 +110,7 @@ program: $(BINARY).dfu
%.elf: $(OBJ) $(LDSCRIPT)
@#printf " LD $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJ) -lopencm3_lpc43xx
$(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJ) -lopencm3_lpc43xx -lm -lc -lnosys
%.o: %.c Makefile
@#printf " CC $(subst $(shell pwd)/,,$(@))\n"