On Sun, Jan 12, 2003 at 10:09:27PM +0000, Sean Charles wrote:
> I have -g on the compile and link stages
^^^^
No, you don't.
> CFLAGS = -g -DAPP_NAME="\"$(APPNAME)\"" -DAPP_CREATOR="'$(CREATOR)'"
> -DDB_NAME="\"$(DBNAME)\"" -DDB_VERSION="'$(DBVERSION)'" $(NAGWARE)
> $(SONYSPECS) -Wall -mdebug-labels -DDEBUG -DTPSVALUE=77
> LDFLAGS= -g
[...]
> $(APPNAME): $(OBJFILES)
> $(CC) -o $(APPNAME) $(OBJFILES)
If you use $(LDFLAGS) et al, there's really no need to have an explicit
link rule. If you will have an explicit link rule and you are putting
flags in $(LDFLAGS), then it's probably going to be a good idea for
$(LDFLAGS) to actually *appear in your link rule*!
> This has bugged(!) me for a long time now and it's time to crack it
> once and for all. I have searched high and low, and low and how
When inexplicable things are happening, it's a good idea to watch the
make logs and such as they scroll past and check that what you think is
happening is actually happening :-).
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/