Code::Blocks Forums

User forums => Help => Topic started by: Solovok on December 29, 2009, 12:30:33 pm

Title: $link_objects - how it work?
Post by: Solovok on December 29, 2009, 12:30:33 pm
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

But this command did not work:

Code
$linker -o $exe_output $link_objects $link_options

Why?


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