[cc65] Create a make dependency file

From: marcas <marcas1chello.at>
Date: 2012-01-07 15:09:03
Hi,

I formerly wrote the Makefiles for cc65 projects myself. Now i gave the 
default build file for larger projects a chance and got stuck in the 
following build failure message:

**** Build of configuration Default for project MyProggie ****

make all
cl65 -t c64 -c --create-dep obj/c64/main.d -o obj/c64/main.o src/main.c
cl65: Don't know what to do with `obj/c64/main.d'
make: *** [obj/c64/main.o] Fehler 1

**** Build Finished ****

I am using the Makefile recommended in the cc65 wiki:
http://wiki.cc65.org/doku.php?id=cc65:project_setup

The project tree is (Hello World project)

MyProggie/
├── Makefile
├── obj
│ └── c64
└── src
└── main.c

If I remove the --create-dep command line switch it compiles and links 
to the MyProggie.c64 binary file.

I assume that --create-dep should work similar as described in 
http://scottmcpeak.com/autodepend/autodepend.html , am I right?
Is this a bug in the Makefile/cl65, or am I using the Makefile the wrong 
way? I did not change any Parameters in the Makefile (->I am using the 
defaults).

Regards marcas
----------------------------------------------------------------------
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 Jan 7 15:09:38 2012

This archive was generated by hypermail 2.1.8 : 2012-01-07 15:09:42 CET