#130851 - gyokimae - Fri Jun 08, 2007 6:41 pm
I've got my devKitPro up and running and have been enjoying it for a few days.
As I am not fluent in reading the make file, I would appreciate advise on how make differentiates which file to search.
As far as I see in the makefile, it appears to me as if a scan is done to find every .c, .cpp and .s files found.
However, for example when I rename main.cpp to main.c in Graphics/2D/hello_world, it returns the following error.
make[1]: *** No rule to make target `c:/devkitPro/examples/nds/Graphics/2D/hello_world/source/main.cpp', needed by `main.o'. Stop.
I would like to know as I have some background building classes and other languages and would like to know how to utilize the templates to run c++ code.
Thank you.
As I am not fluent in reading the make file, I would appreciate advise on how make differentiates which file to search.
As far as I see in the makefile, it appears to me as if a scan is done to find every .c, .cpp and .s files found.
However, for example when I rename main.cpp to main.c in Graphics/2D/hello_world, it returns the following error.
make[1]: *** No rule to make target `c:/devkitPro/examples/nds/Graphics/2D/hello_world/source/main.cpp', needed by `main.o'. Stop.
I would like to know as I have some background building classes and other languages and would like to know how to utilize the templates to run c++ code.
Thank you.