Ah, just one more problem...
I keep all of my tasks in a separate folder in my root directory named Tasks. It looks like by default, UCPP is only looking for files in the root directory to add to the Makefile. Is there a way to add those files in the folder?
I solved my own problem. I created a file named .ucppdirs in my root directory of the code, then edited ucpp_gen_makefile.py as such:
Code:
# Find all the C++ files in the current directory
file_names = []
d = file(".ucppdirs", "r")
dirs = d.read()
d.close
for direc in dirs.split():
for filename in os.listdir(direc):
if filename[-4:]==".cpp":
file_names.append(direc + filename[:-4])