On 2005-07-14, Gnadinger, David <[EMAIL PROTECTED]> wrote:
> Apparently I still have a problem with my makefile. The code compiles great
> now, but when I make changes to the ${APPNAME}.c file, the changes never
> show up in the executable (${APPNAME}.prc). I block out complete sections of
> code and it's like I haven't blocked out anything at all. Here's my
> makefile as it looks now:
>
<snip>
>
> ${DIR}/${APPNAME}.prc : obj/${APPNAME}.o \
> obj/${APPNAME}-sections.s obj/${APPNAME}-sections.ld \
> obj/${APPNAME}-sections.o obj/tFRM03e8.bin \
> themes/*.bin src/${APPNAME}
> @echo "Building final prc..." && \
> build-prc -o $@ obj/${APPNAME}.def src/${APPNAME} -n "${APPNAME}" -c
> gna7 =
> obj/*.bin themes/*.bin
>
When you rebuild your app after editing srs.c (${APPNAME}.c) do you see
all steps (compile, link, build) being executed ?
In the dependencies of ${DIR}/${APPNAME}.prc you can remove
obj/${APPNAME}.o and all the *sections* files.
Of course you will have to reload the prc into the
emulator/simulator/device after the rebuild.
Ton van Overbeek
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/