|
From: | Mikkel Elmholdt |
Subject: | RE: [avr-gcc-list] Problems with makefile |
Date: | Tue, 4 Jun 2002 14:03:09 +0200 |
Just a simple space will do:
#put your C sourcefiles here
SRC = uart.c serial.c timer.c hardware.c
If you want to continue on another line, place a backslash at the end (at least one space character before the backspace):
#put your C sourcefiles here
SRC = uart.c \
serial.c \
timer.c \
hardware.c
-----Original Message-----
From: teboho [SMTP:address@hidden
Sent: Tuesday, June 04, 2002 1:29 PM
To: address@hidden
Subject: [avr-gcc-list] Problems with makefile
Hi everyone,
I am using the win32 testrelease 2. I am trying to compile more than one c source file (i.e main.c, tcp.c, ip.c, ethernet.c etc) and form one .hex which I can then programme to my target board. How do I include this .c files in the makefile. Do I separate them with a comma or just a tab space. Is there anything I need to modify in the avr_make file to form one .hex file.
I tried separating them by a tab space and a comma but i got an error.
thanks in advance.
Teboho
[Prev in Thread] | Current Thread | [Next in Thread] |