If I want to create folders in my build what changes must I make to the make file to include these as part of the build also.
Assuming that you're using the standard PrizmSDK/libfxcg Makefile, just add to the sources and includes variables appropriately.

For example, the defaults are (on lines 21 and 23):

Code:

SOURCES      :=   src
INCLUDES   :=


But if you want to add .c or .cpp files in src/extra_folder/, then add that as

Code:

SOURCES      :=   src src/extra_folder
INCLUDES   :=


And if you are going to also include .h or .hpp files in src/ and src/extra_folder/ and want to specify the headers without needing relative paths, then add them to includes as

Code:

SOURCES      :=   src
INCLUDES   := src src/extra_folder
Thank you
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement