Author Topic: $link_objects - how it work?  (Read 3674 times)

Solovok

  • Guest
$link_objects - how it work?
« 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