micropython/pic16bit
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking.
Scenario: module1 depends on some common file from lib/, so specifies it
in its SRC_MOD, and the same situation with module2, then common file
from lib/ eventually ends up listed twice in $(OBJ), which leads to link
errors.

Make is equipped to deal with such situation easily, quoting the manual:
"The value of $^ omits duplicate prerequisites, while $+ retains them and
preserves their order." So, just use $^ consistently in all link targets.
2015-10-24 15:46:53 +03:00
..
Makefile Makefiles: Remove duplicate object files when linking. 2015-10-24 15:46:53 +03:00
board.c pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
board.h pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
main.c pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
modpyb.c pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
modpyb.h pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
modpybled.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
modpybswitch.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
mpconfigport.h py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
pic16bit_mphal.c pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
pic16bit_mphal.h pic16bit: Initial version of port to 16-bit PIC family. 2015-04-03 14:11:19 +01:00
qstrdefsport.h pic16bit: Add readinto and readlines to qstrs. 2015-05-20 23:12:43 +01:00
unistd.h pic16bit: Add basic unistd.h file since it's not provided by tool chain. 2015-09-15 16:24:13 +01:00