Gnu make looks for tab space after the target line.
For ex:
$(TARGETDIR)/test.lib : $(TEST_SRC)
$(group_test)
The above line in.mak file would throw multiple target patterns error.
correct format would be
$(TARGETDIR)/test.lib : $(TEST_SRC)
<adding tab space here>$(group_test).
For ex:
$(TARGETDIR)/test.lib : $(TEST_SRC)
$(group_test)
The above line in.mak file would throw multiple target patterns error.
correct format would be
$(TARGETDIR)/test.lib : $(TEST_SRC)
<adding tab space here>$(group_test).
Solution:
By giving some tabspace it will compile without any problem.
No comments:
Post a Comment