[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] help me
From: |
Michael Hadianto |
Subject: |
[avr-gcc-list] help me |
Date: |
Fri, 28 Mar 2003 11:57:17 +0700 (JAVT) |
hi all,
first i would like to say sorry if this topic already disscused :)
My name is michael, i am new in this milist, Now i am making project
based on Atmel AVR450 appnote (battery chargers for lion, sla, nicd and
nimh). i already changed few parameter so it can work with AVR GCC to
compile (atmel use IAR compiler) then i compiled it using AVRGCC 3.2 and
AVR studio 3.53, it works, but only for single battery type (nimh only,
nicd only etc).
Then i try to combine all the battery into one program,when i compiled it,
it give me error :
make.exe:***No Rule to make taget 'lio.c', needed by 'bc.o'. Stop.
what's wrong ? i already put all my dependencies in makefile ???
this is my make file
# Simple Makefile
# Volker Oth (c) 1999
########### change this lines according to your project ##################
#put the name of the target mcu here (at90s8515, at90s8535, attiny22,
atmega603 etc.)
MCU = at90s8535
#put the name of the target file here (without extension)
TRG = bc
#put your C sourcefiles here
SRC = $(TRG).c NiCd.c lion.c nimh.c sla.c StdDefs.c
#put additional assembler source file here
ASRC =
#additional libraries and object files to link
LIB =
#additional includes to compile
INC =
#compiler flags
CPFLAGS = -g -O3 -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
# CPFLAGS = -g -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
#linker flags
LDFLAGS = -Wl,-Map=$(TRG).map,--cref,-lm
########### you should not need to change the following line #############
include g:/avrgcc/avrfreaks/avr_make
###### dependecies, add any dependencies you need here ###################
$(TRG).o : $(TRG).c bc.h NiCd.c nicd.h nimh.c nimh.h lion.c lion.h sla.c
sla.h StdDefs.c StdDefs.h
please helpme
thanks
- [avr-gcc-list] help me,
Michael Hadianto <=