The error Don't know how to make target
rrbsSimulator.o'` means one of two things. Either
- There is no rule that can make this file, or
- There is a rule, but its dependencies cannot be made (or found).
This looks like a valid rule.
%.o: %.cpp
$(CC) $(AINC) $(FLAGS) -c $<
Therefore the most likely cause is that its dependency, with the suffix of cpp, is missing. Look for rrbsSimulator.cpp
in the relevant source folder.
Unfortunately makefiles used by some legacy versions of make
are ridiculously picky over formatting like spaces and tabs, and it's not possible to see those in this format. If you are using one of those make
s you need to check the whitespace carefully.