User forums > Help

$link_objects - how it work?

(1/1)

Solovok:
Hello!

I have a small project: main.c foo.c bar.c

This post-building command work OK:


--- Code: ---$linker -o $exe_output $(TARGET_OBJECT_DIR)main.o $(TARGET_OBJECT_DIR)foo.o $(TARGET_OBJECT_DIR)bar.o $link_options
--- End code ---

But this command did not work:


--- Code: ---$linker -o $exe_output $link_objects $link_options
--- End code ---

Why?


P.S. Code::Blocks 8.02, GNU AVR GCC Compiler, WinXP

Navigation

[0] Message Index

Go to full version