Link floating point library and related/required libraries.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user