Re: [cc65] THE Makefile V1.2 available - was: automatic generation of makefile dependencies

From: thefox xofeht <thefox1aspekt.fi>
Date: 2011-05-28 14:41:48
One more completely unrelated thing (sorry for the flood of posts...).

I'm using one target, "nes", with a custom memory config. The Makefile
invokes the linker like so:
cl65 -t nes  -o foo.nes -C src/nes-nrom.cfg obj/nes/header.o obj/nes/main.o

And I get this error:
ld65.exe: Error: Input file `nes.lib' not found

Is this a bug in CC65 or the Makefile? Shouldn't the "-C" switch
override the "-t" or does "-t" do something else than setting the
config file (..or does cl65 reorder the parameters before calling
ld65..)? So far I've hacked around this by specifying "-t none" in
LDFLAGS but it doesn't seem like a clean solution to me (although it
works). :)

-thefox
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat May 28 14:41:56 2011

This archive was generated by hypermail 2.1.8 : 2011-05-28 14:41:59 CEST